diff options
Diffstat (limited to 'lib/sqlalchemy/orm/state.py')
-rw-r--r-- | lib/sqlalchemy/orm/state.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/sqlalchemy/orm/state.py b/lib/sqlalchemy/orm/state.py index 840de6ff1..708939531 100644 --- a/lib/sqlalchemy/orm/state.py +++ b/lib/sqlalchemy/orm/state.py @@ -278,9 +278,6 @@ class InstanceState(interfaces.InspectionAttrInfo, Generic[_O]): or via transaction commit and enters the "detached" state, this flag will continue to report True. - .. versionadded:: 1.1 - added a local method form of - :func:`.orm.util.was_deleted`. - .. seealso:: :attr:`.InstanceState.deleted` - refers to the "deleted" state @@ -300,12 +297,6 @@ class InstanceState(interfaces.InspectionAttrInfo, Generic[_O]): be within the :attr:`.Session.identity_map` of its parent :class:`.Session`. - .. versionchanged:: 1.1 The :attr:`.InstanceState.persistent` - accessor no longer returns True for an object that was - "deleted" within a flush; use the :attr:`.InstanceState.deleted` - accessor to detect this state. This allows the "persistent" - state to guarantee membership in the identity map. - .. seealso:: :ref:`session_object_states` @@ -1104,8 +1095,6 @@ class AttributeState: :func:`.attributes.get_history` - underlying function - .. versionadded:: 0.9.0 - """ return self.state.get_history(self.key, PASSIVE_OFF ^ INIT_OK) |