summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/ext
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
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')
-rw-r--r--lib/sqlalchemy/ext/declarative/api.py10
-rw-r--r--lib/sqlalchemy/ext/instrumentation.py16
-rw-r--r--lib/sqlalchemy/ext/mutable.py18
3 files changed, 0 insertions, 44 deletions
diff --git a/lib/sqlalchemy/ext/declarative/api.py b/lib/sqlalchemy/ext/declarative/api.py
index b6a5f1fcf..6e64e37c5 100644
--- a/lib/sqlalchemy/ext/declarative/api.py
+++ b/lib/sqlalchemy/ext/declarative/api.py
@@ -188,12 +188,6 @@ class declared_attr(interfaces._MappedAttribute, property):
else:
return {"polymorphic_identity":cls.__name__}
- .. versionchanged:: 0.8 :class:`.declared_attr` can be used with
- non-ORM or extension attributes, such as user-defined attributes
- or :func:`.association_proxy` objects, which will be assigned
- to the class at class construction time.
-
-
"""
def __init__(self, fget, cascading=False):
@@ -417,8 +411,6 @@ def as_declarative(**kw):
All keyword arguments passed to :func:`.as_declarative` are passed
along to :func:`.declarative_base`.
- .. versionadded:: 0.8.3
-
.. seealso::
:func:`.declarative_base`
@@ -709,8 +701,6 @@ class DeferredReflection(object):
ReflectedOne.prepare(engine_one)
ReflectedTwo.prepare(engine_two)
- .. versionadded:: 0.8
-
"""
@classmethod
diff --git a/lib/sqlalchemy/ext/instrumentation.py b/lib/sqlalchemy/ext/instrumentation.py
index ae62dca08..378d7445f 100644
--- a/lib/sqlalchemy/ext/instrumentation.py
+++ b/lib/sqlalchemy/ext/instrumentation.py
@@ -14,17 +14,6 @@ on the class.
For examples of how the instrumentation extension is used,
see the example :ref:`examples_instrumentation`.
-.. versionchanged:: 0.8
- The :mod:`sqlalchemy.orm.instrumentation` was split out so
- that all functionality having to do with non-standard
- instrumentation was moved out to :mod:`sqlalchemy.ext.instrumentation`.
- When imported, the module installs itself within
- :mod:`sqlalchemy.orm.instrumentation` so that it
- takes effect, including recognition of
- ``__sa_instrumentation_manager__`` on mapped classes, as
- well :data:`.instrumentation_finders`
- being used to determine class instrumentation resolution.
-
"""
import weakref
@@ -219,11 +208,6 @@ class InstrumentationManager(object):
The API for this class should be considered as semi-stable,
and may change slightly with new releases.
- .. versionchanged:: 0.8
- :class:`.InstrumentationManager` was moved from
- :mod:`sqlalchemy.orm.instrumentation` to
- :mod:`sqlalchemy.ext.instrumentation`.
-
"""
# r4361 added a mandatory (cls) constructor to this interface.
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`