diff options
author | mike bayer <mike_mp@zzzcomputing.com> | 2023-04-12 23:41:19 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@bbpush.zzzcomputing.com> | 2023-04-12 23:41:19 +0000 |
commit | b066c45dc491716a4e34bdeb9a9726bcbc136fb5 (patch) | |
tree | ae40a051b41f73d3587cb1f2785c85e810e89dc7 /lib/sqlalchemy/orm/state.py | |
parent | 53be3fc70a44d34fda1ffddcf9d67473d3de50b4 (diff) | |
parent | ee7e49964fcf13ed0f5a3541b81f00302a9db29a (diff) | |
download | sqlalchemy-b066c45dc491716a4e34bdeb9a9726bcbc136fb5.tar.gz |
Merge "Remove old versionadded and versionchanged" into main
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) |