diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-12-22 18:40:06 -0500 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-12-22 18:40:06 -0500 |
| commit | 5b23a6808041ff90e2097e2cb37188d4845828f4 (patch) | |
| tree | e5732791a83f505185fd3c7a622aae01cb083ea7 /lib/sqlalchemy/orm/attributes.py | |
| parent | efbbe88705eb19d68b587aae6dfb60cfe4356edb (diff) | |
| download | sqlalchemy-5b23a6808041ff90e2097e2cb37188d4845828f4.tar.gz | |
- add tests to ensure SELECT of dynamic collection not emitted
on regular append/remove history
- fix the real cause of the original #2637 issue, backrefs call upon
the "pop()" method now which wasn't implemented for Dynamic
Diffstat (limited to 'lib/sqlalchemy/orm/attributes.py')
| -rw-r--r-- | lib/sqlalchemy/orm/attributes.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/sqlalchemy/orm/attributes.py b/lib/sqlalchemy/orm/attributes.py index 060eaa6e5..d2f20e94d 100644 --- a/lib/sqlalchemy/orm/attributes.py +++ b/lib/sqlalchemy/orm/attributes.py @@ -1030,7 +1030,6 @@ def backref_listeners(attribute, key, uselist): def emit_backref_from_scalar_set_event(state, child, oldchild, initiator): if oldchild is child: return child - if oldchild is not None and oldchild is not PASSIVE_NO_RESULT: # With lazy=None, there's no guarantee that the full collection is # present when updating via a backref. |
