]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Added new utility function :func:`.make_transient_to_detached` which can
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 9 Apr 2014 21:49:16 +0000 (17:49 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 9 Apr 2014 21:49:16 +0000 (17:49 -0400)
commit9f74861d6d2962cb255887c78d5d0f4cb8891cfa
tree6941d52bf00434bd452dc7cf81020d7adadb87cc
parente8c08b5d7baf1b04cfcec94977822af291f2fa83
- Added new utility function :func:`.make_transient_to_detached` which can
be used to manufacture objects that behave as though they were loaded
from a session, then detached.   Attributes that aren't present
are marked as expired, and the object can be added to a Session
where it will act like a persistent one. fix #3017
doc/build/changelog/changelog_09.rst
doc/build/orm/session.rst
lib/sqlalchemy/orm/__init__.py
lib/sqlalchemy/orm/session.py
test/orm/test_session.py