summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/orm/session.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2019-01-15 10:49:36 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2019-01-15 10:49:36 -0500
commit885f15a306efc4c907ca82fa13871992ee556466 (patch)
treeb0a483144c7bffd479691dfcb47a7f45a666a619 /lib/sqlalchemy/orm/session.py
parenta7d6cb13ac96f2abc9366f5ed26fd91cd69ac7cd (diff)
downloadsqlalchemy-885f15a306efc4c907ca82fa13871992ee556466.tar.gz
Remove version directives for 0.6, 0.7, 0.8
- fix a few "seealso"s - ComparableProprerty's "superseded in 0.7" becomes deprecated in 0.7 Backport to currently maintained doc versions 1.2, 1.1 Change-Id: Ib1fcb2df8673dbe5c4ffc47f3896a60d1dfcb4b2
Diffstat (limited to 'lib/sqlalchemy/orm/session.py')
-rw-r--r--lib/sqlalchemy/orm/session.py20
1 files changed, 3 insertions, 17 deletions
diff --git a/lib/sqlalchemy/orm/session.py b/lib/sqlalchemy/orm/session.py
index e1a1e5577..5993e91b8 100644
--- a/lib/sqlalchemy/orm/session.py
+++ b/lib/sqlalchemy/orm/session.py
@@ -1563,8 +1563,6 @@ class Session(_SessionClassMethods):
of objects which involve existing database queries,
where the uncompleted object should not yet be flushed.
- .. versionadded:: 0.7.6
-
"""
autoflush = self.autoflush
self.autoflush = False
@@ -2339,8 +2337,6 @@ class Session(_SessionClassMethods):
that they are present in an ordinary way before flush()
proceeds. This method is not intended for general use.
- .. versionadded:: 0.8
-
.. seealso::
``load_on_pending`` at :func:`.relationship` - this flag
@@ -2893,15 +2889,6 @@ class Session(_SessionClassMethods):
return session.is_modified(someobject)
- .. versionchanged:: 0.8
- When using SQLAlchemy 0.7 and earlier, the ``passive``
- flag should **always** be explicitly set to ``True``,
- else SQL loads/autoflushes may proceed which can affect
- the modified state itself:
- ``session.is_modified(someobject, passive=True)``\ .
- In 0.8 and above, the behavior is corrected and
- this flag is ignored.
-
A few caveats to this method apply:
* Instances present in the :attr:`.Session.dirty` collection may
@@ -2936,10 +2923,9 @@ class Session(_SessionClassMethods):
instance upon flush.
:param passive:
- .. versionchanged:: 0.8
- Ignored for backwards compatibility.
- When using SQLAlchemy 0.7 and earlier, this flag should always
- be set to ``True``.
+ .. deprecated:: 0.8
+ The ``passive`` flag is deprecated and will be removed
+ in a future release. The flag is no longer used and is ignored.
"""
state = object_state(instance)