method.
+ .. seealso::
+
+ :func:`.make_transient_to_detached` - provides for an alternative
+ means of "merging" a single object into the :class:`.Session`
+
"""
if self._warn_on_events:
allows per-relationship loading of many-to-ones on items that
are pending.
+ :func:`.make_transient_to_detached` - allows for an object to
+ be added to a :class:`.Session` without SQL emitted, which then
+ will unexpire attributes on access.
+
"""
state = attributes.instance_state(obj)
to_attach = self._before_attach(state, obj)
:func:`.make_transient`
+ :meth:`.Session.enable_relationship_loading`
+
"""
state = attributes.instance_state(instance)
if state.session_id or state.key: