Re: [Sqlalchemy-tickets] [sqlalchemy] #2741: uselist=False collection not backref deferred, leads t
Brought to you by:
zzzeek
|
From: sqlalchemy <mi...@zz...> - 2013-06-04 16:37:59
|
#2741: uselist=False collection not backref deferred, leads to unwanted
load/autoflush
-----------------------------------+-------------------------------
Reporter: zzzeek | Owner: zzzeek
Type: defect | Status: closed
Priority: highest | Milestone: 0.8.xx
Component: orm | Severity: major - 1-3 hours
Resolution: worksforme | Keywords:
Progress State: completed/closed |
-----------------------------------+-------------------------------
Comment (by zzzeek):
we can also get the "multiple rows" condition by just turning off
active_history:
{{{
#!python
A.b.impl.active_history = False
b1.a = a2
sess.commit()
print a2.b
}}}
it might be an interesting feature to allow users to override
active_history, right now you can turn it on if not already, but not turn
it off at the configuration level.
--
Ticket URL: <http://www.sqlalchemy.org/trac/ticket/2741#comment:3>
sqlalchemy <http://www.sqlalchemy.org/>
The Database Toolkit for Python
|