diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-09-13 02:09:38 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-09-13 02:09:38 -0400 |
| commit | f5d2bb60a886ba0aa35a04eb6c096b7982643ca2 (patch) | |
| tree | cf4cbf51686d0006baa26fc7a8add6c72517790b /lib/sqlalchemy/orm/collections.py | |
| parent | 18f6a06a51943198a9a375c781c2dbc1511d24a5 (diff) | |
| download | sqlalchemy-f5d2bb60a886ba0aa35a04eb6c096b7982643ca2.tar.gz | |
- Fixed recursion bug which could occur when moving
an object from one reference to another, with
backrefs involved, where the initiating parent
was a subclass (with its own mapper) of the
previous parent.
Diffstat (limited to 'lib/sqlalchemy/orm/collections.py')
| -rw-r--r-- | lib/sqlalchemy/orm/collections.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/orm/collections.py b/lib/sqlalchemy/orm/collections.py index 0789d9626..b52329523 100644 --- a/lib/sqlalchemy/orm/collections.py +++ b/lib/sqlalchemy/orm/collections.py @@ -587,7 +587,7 @@ class CollectionAdapter(object): def fire_append_event(self, item, initiator=None): """Notify that a entity has entered the collection. - Initiator is the InstrumentedAttribute that initiated the membership + Initiator is a token owned by the InstrumentedAttribute that initiated the membership mutation, and should be left as None unless you are passing along an initiator value from a chained operation. |
