[Sqlalchemy-tickets] [sqlalchemy] #1910: ken wants FK attributes to load on pending with an option
Brought to you by:
zzzeek
From: sqlalchemy <mi...@zz...> - 2010-09-11 17:56:44
|
#1910: ken wants FK attributes to load on pending with an option for transient too --------------------+------------------------------------------------------- Reporter: zzzeek | Owner: zzzeek Type: defect | Status: new Priority: medium | Milestone: 0.7.0 Component: orm | Severity: refactor - over two days Keywords: | Status_field: in progress --------------------+------------------------------------------------------- the attached patch begins to address this. many more tests will be needed. Highlights include: * the mechanism by which we determine if we should use "committed" attributes or not changes * attribute events send through a flag that still disables loading on pending * to get a transient to load, just set its session_id. this is fairly clean and sneaky enough not to confuse new users. * backrefs need to be more careful about things -- Ticket URL: <http://www.sqlalchemy.org/trac/ticket/1910> sqlalchemy <http://www.sqlalchemy.org/> The Database Toolkit for Python |