summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/ext/mutable.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/ext/mutable.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/ext/mutable.py')
-rw-r--r--lib/sqlalchemy/ext/mutable.py18
1 files changed, 0 insertions, 18 deletions
diff --git a/lib/sqlalchemy/ext/mutable.py b/lib/sqlalchemy/ext/mutable.py
index 1518f6ad0..51d09618e 100644
--- a/lib/sqlalchemy/ext/mutable.py
+++ b/lib/sqlalchemy/ext/mutable.py
@@ -8,10 +8,6 @@
r"""Provide support for tracking of in-place changes to scalar values,
which are propagated into ORM change events on owning parent objects.
-.. versionadded:: 0.7 :mod:`sqlalchemy.ext.mutable` replaces SQLAlchemy's
- legacy approach to in-place mutations of scalar values; see
- :ref:`07_migration_mutation_extension`.
-
.. _mutable_scalars:
Establishing Mutability on Scalar Column Values
@@ -236,14 +232,6 @@ be assigned an object value which represents information "composed" from one
or more columns from the underlying mapped table. The usual example is that of
a geometric "point", and is introduced in :ref:`mapper_composite`.
-.. versionchanged:: 0.7
- The internals of :func:`.orm.composite` have been
- greatly simplified and in-place mutation detection is no longer enabled by
- default; instead, the user-defined value must detect changes on its own and
- propagate them to all owning parents. The :mod:`sqlalchemy.ext.mutable`
- extension provides the helper class :class:`.MutableComposite`, which is a
- slight variant on the :class:`.Mutable` class.
-
As is the case with :class:`.Mutable`, the user-defined composite class
subclasses :class:`.MutableComposite` as a mixin, and detects and delivers
change events to its parents via the :meth:`.MutableComposite.changed` method.
@@ -341,10 +329,6 @@ make use of the custom composite type::
raise ValueError("tuple or Point expected")
return value
-.. versionadded:: 0.7.10,0.8.0b2
- Support for the :meth:`.MutableBase.coerce` method in conjunction with
- objects of type :class:`.MutableComposite`.
-
Supporting Pickling
--------------------
@@ -704,8 +688,6 @@ class MutableDict(Mutable, dict):
coersion to the values placed in the dictionary so that they too are
"mutable", and emit events up to their parent structure.
- .. versionadded:: 0.8
-
.. seealso::
:class:`.MutableList`