diff options
| author | Federico Caselli <cfederico87@gmail.com> | 2023-04-12 23:17:38 +0200 |
|---|---|---|
| committer | Federico Caselli <cfederico87@gmail.com> | 2023-04-12 23:17:38 +0200 |
| commit | ee7e49964fcf13ed0f5a3541b81f00302a9db29a (patch) | |
| tree | 71d6b1cbfc8705658e2cfd8de56b817ca28fd67e /lib/sqlalchemy/ext | |
| parent | 107ec58bdfbcbb09f40d92590f8197ffa683a925 (diff) | |
| download | sqlalchemy-ee7e49964fcf13ed0f5a3541b81f00302a9db29a.tar.gz | |
Remove old versionadded and versionchanged
Removed versionadded and versionchanged for version prior to 1.2 since they
are no longer useful.
Change-Id: I5c53d1188bc5fec3ab4be39ef761650ed8fa6d3e
Diffstat (limited to 'lib/sqlalchemy/ext')
| -rw-r--r-- | lib/sqlalchemy/ext/asyncio/engine.py | 2 | ||||
| -rw-r--r-- | lib/sqlalchemy/ext/automap.py | 8 | ||||
| -rw-r--r-- | lib/sqlalchemy/ext/baked.py | 6 | ||||
| -rw-r--r-- | lib/sqlalchemy/ext/indexable.py | 5 | ||||
| -rw-r--r-- | lib/sqlalchemy/ext/mutable.py | 6 |
5 files changed, 0 insertions, 27 deletions
diff --git a/lib/sqlalchemy/ext/asyncio/engine.py b/lib/sqlalchemy/ext/asyncio/engine.py index 325c58bda..b72824e3b 100644 --- a/lib/sqlalchemy/ext/asyncio/engine.py +++ b/lib/sqlalchemy/ext/asyncio/engine.py @@ -863,8 +863,6 @@ class AsyncConnection( ahead of time from the first connection procured by the dialect, so SQL query is not invoked when this accessor is called. - .. versionadded:: 0.9.9 - .. seealso:: :meth:`_engine.Connection.get_isolation_level` diff --git a/lib/sqlalchemy/ext/automap.py b/lib/sqlalchemy/ext/automap.py index 1861791b7..f378f729a 100644 --- a/lib/sqlalchemy/ext/automap.py +++ b/lib/sqlalchemy/ext/automap.py @@ -379,14 +379,6 @@ follows: flag is set to ``True`` in the set of relationship keyword arguments. Note that not all backends support reflection of ON DELETE. - .. versionadded:: 1.0.0 - automap will detect non-nullable foreign key - constraints when producing a one-to-many relationship and establish - a default cascade of ``all, delete-orphan`` if so; additionally, - if the constraint specifies - :paramref:`_schema.ForeignKeyConstraint.ondelete` - of ``CASCADE`` for non-nullable or ``SET NULL`` for nullable columns, - the ``passive_deletes=True`` option is also added. - 5. The names of the relationships are determined using the :paramref:`.AutomapBase.prepare.name_for_scalar_relationship` and :paramref:`.AutomapBase.prepare.name_for_collection_relationship` diff --git a/lib/sqlalchemy/ext/baked.py b/lib/sqlalchemy/ext/baked.py index 8b6488ca3..64c9ce6ec 100644 --- a/lib/sqlalchemy/ext/baked.py +++ b/lib/sqlalchemy/ext/baked.py @@ -430,8 +430,6 @@ class Result: Note this uses a subquery to ensure an accurate count regardless of the structure of the original statement. - .. versionadded:: 1.1.6 - """ col = func.count(literal_column("*")) @@ -445,8 +443,6 @@ class Result: Equivalent to :meth:`_query.Query.scalar`. - .. versionadded:: 1.1.6 - """ try: ret = self.one() @@ -486,8 +482,6 @@ class Result: Equivalent to :meth:`_query.Query.one_or_none`. - .. versionadded:: 1.0.9 - """ return self._iter().one_or_none() diff --git a/lib/sqlalchemy/ext/indexable.py b/lib/sqlalchemy/ext/indexable.py index 01c6f4b24..dbaad3c40 100644 --- a/lib/sqlalchemy/ext/indexable.py +++ b/lib/sqlalchemy/ext/indexable.py @@ -22,9 +22,6 @@ The :mod:`~sqlalchemy.ext.indexable` extension provides :class:`_types.Indexable` typed column. In simple cases, it can be treated as a :class:`_schema.Column` - mapped attribute. - -.. versionadded:: 1.1 - Synopsis ======== @@ -235,8 +232,6 @@ class index_property(hybrid_property): # noqa attribute that corresponds to an :class:`_types.Indexable` column. - .. versionadded:: 1.1 - .. seealso:: :mod:`sqlalchemy.ext.indexable` diff --git a/lib/sqlalchemy/ext/mutable.py b/lib/sqlalchemy/ext/mutable.py index 0dd321559..7d23f9fda 100644 --- a/lib/sqlalchemy/ext/mutable.py +++ b/lib/sqlalchemy/ext/mutable.py @@ -469,8 +469,6 @@ class MutableBase: of attribute names that have been refreshed; the list is compared against this set to determine if action needs to be taken. - .. versionadded:: 1.0.5 - """ return {attribute.key} @@ -880,8 +878,6 @@ class MutableList(Mutable, List[_T]): coercion to the values placed in the dictionary so that they too are "mutable", and emit events up to their parent structure. - .. versionadded:: 1.1 - .. seealso:: :class:`.MutableDict` @@ -986,8 +982,6 @@ class MutableSet(Mutable, Set[_T]): coercion to the values placed in the dictionary so that they too are "mutable", and emit events up to their parent structure. - .. versionadded:: 1.1 - .. seealso:: :class:`.MutableDict` |
