Ticket #7 (closed defect: fixed)
scoped_session() rather than SessionContext
| Reported by: | guest | Owned by: | ged |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.4 |
| Component: | core | Version: | 0.4.0 |
| Keywords: | Cc: | elixir-bugs@… |
Description
In SQLAlchemy 0.4 (svn r3498) the use of SessionContext in elixir/init.py causes a deprecation warning from SQLAlchemy.
The call to SessionContext can be replaced with a call to sqlalchemy.orm.scoped_session. All the tests still pass (except test_events, but that is a separate issue) and I see no deprecation warnings.
The patch is against r203.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
