]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
deprecate InstanceState.unloaded_expirable
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 8 Jun 2023 15:41:41 +0000 (11:41 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 8 Jun 2023 15:49:19 +0000 (11:49 -0400)
commit5342d36a9a3a4f214b21c34f55740c389eb6e5df
tree178d819c41a7241e51549a38cc73b081c4bc5708
parent693b8744ee45ebb65bfcbb9156935ffb2a3ee9ad
deprecate InstanceState.unloaded_expirable

The :attr:`_orm.InstanceState.unloaded_expirable` attribute is a synonym
for :attr:`_orm.InstanceState.unloaded`, and is now deprecated; this
attribute was always implementation-specific and should not have been
public.

Fixes: #9913
Change-Id: Iadc25b0a8add164f9d70e6e4fe57dcd083902927
doc/build/changelog/unreleased_20/9913.rst [new file with mode: 0644]
lib/sqlalchemy/orm/session.py
lib/sqlalchemy/orm/state.py
test/orm/test_deprecations.py