summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/engine
diff options
context:
space:
mode:
authormike bayer <mike_mp@zzzcomputing.com>2023-04-12 23:41:19 +0000
committerGerrit Code Review <gerrit@bbpush.zzzcomputing.com>2023-04-12 23:41:19 +0000
commitb066c45dc491716a4e34bdeb9a9726bcbc136fb5 (patch)
treeae40a051b41f73d3587cb1f2785c85e810e89dc7 /lib/sqlalchemy/engine
parent53be3fc70a44d34fda1ffddcf9d67473d3de50b4 (diff)
parentee7e49964fcf13ed0f5a3541b81f00302a9db29a (diff)
downloadsqlalchemy-b066c45dc491716a4e34bdeb9a9726bcbc136fb5.tar.gz
Merge "Remove old versionadded and versionchanged" into main
Diffstat (limited to 'lib/sqlalchemy/engine')
-rw-r--r--lib/sqlalchemy/engine/base.py6
-rw-r--r--lib/sqlalchemy/engine/cursor.py4
-rw-r--r--lib/sqlalchemy/engine/events.py8
-rw-r--r--lib/sqlalchemy/engine/interfaces.py12
-rw-r--r--lib/sqlalchemy/engine/reflection.py8
5 files changed, 0 insertions, 38 deletions
diff --git a/lib/sqlalchemy/engine/base.py b/lib/sqlalchemy/engine/base.py
index def2c0b93..1d2fb7a46 100644
--- a/lib/sqlalchemy/engine/base.py
+++ b/lib/sqlalchemy/engine/base.py
@@ -484,8 +484,6 @@ class Connection(ConnectionEventsTarget, inspection.Inspectable["Inspector"]):
are compiled into strings; the resulting schema name will be
converted based on presence in the map of the original name.
- .. versionadded:: 1.1
-
.. seealso::
:ref:`schema_translating`
@@ -598,8 +596,6 @@ class Connection(ConnectionEventsTarget, inspection.Inspectable["Inspector"]):
which returns the dialect-level setting without performing a SQL
query.
- .. versionadded:: 0.9.9
-
.. seealso::
:attr:`_engine.Connection.default_isolation_level`
@@ -636,8 +632,6 @@ class Connection(ConnectionEventsTarget, inspection.Inspectable["Inspector"]):
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/engine/cursor.py b/lib/sqlalchemy/engine/cursor.py
index 0eea3398d..1f171ddb0 100644
--- a/lib/sqlalchemy/engine/cursor.py
+++ b/lib/sqlalchemy/engine/cursor.py
@@ -1544,8 +1544,6 @@ class CursorResult(Result[_T]):
This method is **not public**, but is documented in order to clarify
the "autoclose" process used.
- .. versionadded:: 1.0.0
-
.. seealso::
:meth:`_engine.CursorResult.close`
@@ -1878,8 +1876,6 @@ class CursorResult(Result[_T]):
if :meth:`.ValuesBase.return_defaults` was not used or if the
backend does not support RETURNING.
- .. versionadded:: 0.9.0
-
.. seealso::
:meth:`.ValuesBase.return_defaults`
diff --git a/lib/sqlalchemy/engine/events.py b/lib/sqlalchemy/engine/events.py
index 9028c8c33..c1b182a0a 100644
--- a/lib/sqlalchemy/engine/events.py
+++ b/lib/sqlalchemy/engine/events.py
@@ -498,8 +498,6 @@ class ConnectionEvents(event.Events[ConnectionEventsTarget]):
can still be used for new requests in which case
it re-acquires connection resources.
- .. versionadded:: 1.0.5
-
"""
def begin(self, conn: Connection) -> None:
@@ -636,9 +634,6 @@ class DialectEvents(event.Events[Dialect]):
:meth:`_events.ConnectionEvents.after_execute`
-
- .. versionadded:: 0.9.4
-
"""
_target_class_doc = "SomeEngine"
@@ -855,9 +850,6 @@ class DialectEvents(event.Events[Dialect]):
def receive_do_connect(dialect, conn_rec, cargs, cparams):
return psycopg2.connect(*cargs, **cparams)
-
- .. versionadded:: 1.0.3
-
.. seealso::
:ref:`custom_dbapi_args`
diff --git a/lib/sqlalchemy/engine/interfaces.py b/lib/sqlalchemy/engine/interfaces.py
index 9952a85e3..254aba4bc 100644
--- a/lib/sqlalchemy/engine/interfaces.py
+++ b/lib/sqlalchemy/engine/interfaces.py
@@ -1043,8 +1043,6 @@ class Dialect(EventTarget):
here is so that third-party dialects that haven't yet implemented this
feature continue to function in the old way.
- .. versionadded:: 0.9.2
-
.. seealso::
:class:`.DialectKWArgs` - implementing base class which consumes
@@ -1621,8 +1619,6 @@ class Dialect(EventTarget):
This is an internal dialect method. Applications should use
:meth:`.Inspector.get_check_constraints`.
- .. versionadded:: 1.1.0
-
"""
raise NotImplementedError()
@@ -2511,8 +2507,6 @@ class Dialect(EventTarget):
By default this just returns the cls.
- .. versionadded:: 1.0.3
-
"""
return cls
@@ -2579,8 +2573,6 @@ class Dialect(EventTarget):
events to the engine or its components. In particular, it allows
a dialect-wrapping class to apply dialect-level events.
- .. versionadded:: 1.0.3
-
"""
def get_driver_connection(self, connection: DBAPIConnection) -> Any:
@@ -2803,8 +2795,6 @@ class CreateEnginePlugin:
changes can be made to the engine, most typically involving setup of
events (e.g. those defined in :ref:`core_event_toplevel`).
- .. versionadded:: 1.1
-
""" # noqa: E501
def __init__(self, url: URL, kwargs: Dict[str, Any]):
@@ -3290,8 +3280,6 @@ class ExceptionContext:
the invalidation of other connections in the pool is to be performed
based on other conditions, or even on a per-connection basis.
- .. versionadded:: 1.0.3
-
"""
is_pre_ping: bool
diff --git a/lib/sqlalchemy/engine/reflection.py b/lib/sqlalchemy/engine/reflection.py
index 6b44704bb..6e1ec18f2 100644
--- a/lib/sqlalchemy/engine/reflection.py
+++ b/lib/sqlalchemy/engine/reflection.py
@@ -513,8 +513,6 @@ class Inspector(inspection.Inspectable["Inspector"]):
foreign key constraint names that would require a separate CREATE
step after-the-fact, based on dependencies between tables.
- .. versionadded:: 1.0.-
-
:param schema: schema name to query, if not the default schema.
:param \**kw: Additional keyword argument to pass to the dialect
specific implementation. See the documentation of the dialect
@@ -630,8 +628,6 @@ class Inspector(inspection.Inspectable["Inspector"]):
specific implementation. See the documentation of the dialect
in use for more information.
- .. versionadded:: 1.0.0
-
"""
with self._operation_context() as conn:
@@ -649,8 +645,6 @@ class Inspector(inspection.Inspectable["Inspector"]):
specific implementation. See the documentation of the dialect
in use for more information.
- .. versionadded:: 1.0.0
-
"""
with self._operation_context() as conn:
return self.dialect.get_temp_view_names(
@@ -1406,8 +1400,6 @@ class Inspector(inspection.Inspectable["Inspector"]):
:return: a list of dictionaries, each representing the
definition of a check constraints.
- .. versionadded:: 1.1.0
-
.. seealso:: :meth:`Inspector.get_multi_check_constraints`
"""