diff options
Diffstat (limited to 'lib/sqlalchemy/orm/events.py')
-rw-r--r-- | lib/sqlalchemy/orm/events.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sqlalchemy/orm/events.py b/lib/sqlalchemy/orm/events.py index 3ee0cd1f8..b9bad10b6 100644 --- a/lib/sqlalchemy/orm/events.py +++ b/lib/sqlalchemy/orm/events.py @@ -2134,7 +2134,7 @@ class AttributeEvents(event.Events): a changing value such as a timestamp, the :meth:`.AttributeEvents.init_scalar` event handler can also be used to **set** the newly returned value, so - that a Core-level default generation function effecively fires off + that a Core-level default generation function effectively fires off only once, but at the moment the attribute is accessed on the non-persisted object. Normally, no change to the object's state is made when an uninitialized attribute is accessed (much older @@ -2252,7 +2252,7 @@ class AttributeEvents(event.Events): from what was specified as :paramref:`.relationship.collection_class`, and will always be empty. - :param collection_adpater: the :class:`.CollectionAdapter` that will + :param collection_adapter: the :class:`.CollectionAdapter` that will mediate internal access to the collection. .. versionadded:: 1.0.0 the :meth:`.AttributeEvents.init_collection` @@ -2261,7 +2261,7 @@ class AttributeEvents(event.Events): """ - def dispose_collection(self, target, collection, collection_adpater): + def dispose_collection(self, target, collection, collection_adapter): """Receive a 'collection dispose' event. This event is triggered for a collection-based attribute when |