I stumbled upon an app <https://github.com/seejay/feedIO> which uses Elixir
0.7 but faced an `Import Error` because `ScopedSession` has been moved from
`sqlalchemy.orm` to `sqlalchemy.orm.scoping`. Now the app works fine so it
would be nice if developers could apply the attached patch and update
elixir's pypi.
Merry Christmas!
Parth Panchal
--
You received this message because you are subscribed to the Google Groups
"SQLElixir" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sqlelixir.
For more options, visit https://groups.google.com/d/optout.
Index: elixir/entity.py
===================================================================
--- elixir/entity.py (revision 534)
+++ elixir/entity.py (working copy)
@@ -13,8 +13,8 @@
from sqlalchemy import Table, Column, Integer, desc, ForeignKey, and_, \
ForeignKeyConstraint
from sqlalchemy.orm import MapperExtension, mapper, object_session, \
- EXT_CONTINUE, polymorphic_union, ScopedSession, \
- ColumnProperty
+ EXT_CONTINUE, polymorphic_union, ColumnProperty
+from sqlalchemy.orm.scoping import ScopedSession
from sqlalchemy.sql import ColumnCollection
import elixir