diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2019-01-15 10:49:36 -0500 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2019-01-15 10:49:36 -0500 |
| commit | 885f15a306efc4c907ca82fa13871992ee556466 (patch) | |
| tree | b0a483144c7bffd479691dfcb47a7f45a666a619 /lib/sqlalchemy/engine | |
| parent | a7d6cb13ac96f2abc9366f5ed26fd91cd69ac7cd (diff) | |
| download | sqlalchemy-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/engine')
| -rw-r--r-- | lib/sqlalchemy/engine/__init__.py | 4 | ||||
| -rw-r--r-- | lib/sqlalchemy/engine/base.py | 16 | ||||
| -rw-r--r-- | lib/sqlalchemy/engine/interfaces.py | 2 | ||||
| -rw-r--r-- | lib/sqlalchemy/engine/reflection.py | 8 |
4 files changed, 5 insertions, 25 deletions
diff --git a/lib/sqlalchemy/engine/__init__.py b/lib/sqlalchemy/engine/__init__.py index 157aa195e..5f77d17a1 100644 --- a/lib/sqlalchemy/engine/__init__.py +++ b/lib/sqlalchemy/engine/__init__.py @@ -134,10 +134,6 @@ def create_engine(*args, **kwargs): will match in a case-insensitive fashion, that is, ``row['SomeColumn']``. - .. versionchanged:: 0.8 - By default, result row names match case-sensitively. - In version 0.7 and prior, all matches were case-insensitive. - :param connect_args: a dictionary of options which will be passed directly to the DBAPI's ``connect()`` method as additional keyword arguments. See the example diff --git a/lib/sqlalchemy/engine/base.py b/lib/sqlalchemy/engine/base.py index 15737661d..2b7c3f86e 100644 --- a/lib/sqlalchemy/engine/base.py +++ b/lib/sqlalchemy/engine/base.py @@ -305,8 +305,6 @@ class Connection(Connectable): or piped into a script that's later invoked by command line tools. - .. versionadded:: 0.7.6 - :param stream_results: Available on: Connection, statement. Indicate to the dialect that results should be "streamed" and not pre-buffered, if possible. This is a limitation @@ -1925,8 +1923,6 @@ class Engine(Connectable, log.Identified): cursor.execute("use %s" % shards[shard_id]) conn.info["current_shard"] = shard_id - .. versionadded:: 0.8 - .. seealso:: :meth:`.Connection.execution_options` - update execution options @@ -2040,15 +2036,13 @@ class Engine(Connectable, log.Identified): :meth:`.Connection.execute` will close the :class:`.Connection` when that :class:`.ResultProxy` has exhausted all result rows. - .. versionadded:: 0.7.6 - - See also: + .. seealso:: - :meth:`.Engine.connect` - procure a :class:`.Connection` from - an :class:`.Engine`. + :meth:`.Engine.connect` - procure a :class:`.Connection` from + an :class:`.Engine`. - :meth:`.Connection.begin` - start a :class:`.Transaction` - for a particular :class:`.Connection`. + :meth:`.Connection.begin` - start a :class:`.Transaction` + for a particular :class:`.Connection`. """ conn = self.contextual_connect(close_with_result=close_with_result) diff --git a/lib/sqlalchemy/engine/interfaces.py b/lib/sqlalchemy/engine/interfaces.py index 6ff31f0e5..d4cd55b2f 100644 --- a/lib/sqlalchemy/engine/interfaces.py +++ b/lib/sqlalchemy/engine/interfaces.py @@ -547,8 +547,6 @@ class Dialect(object): detached from the pool, or is being returned beyond the normal capacity of the pool. - .. versionadded:: 0.8 - """ raise NotImplementedError() diff --git a/lib/sqlalchemy/engine/reflection.py b/lib/sqlalchemy/engine/reflection.py index 33c43d302..4e4ddab6d 100644 --- a/lib/sqlalchemy/engine/reflection.py +++ b/lib/sqlalchemy/engine/reflection.py @@ -187,12 +187,6 @@ class Inspector(object): more comprehensive solution to resolving foreign key cycles between tables. - .. versionchanged:: 0.8 the "foreign_key" sorting sorts tables - in order of dependee to dependent; that is, in creation - order, rather than in drop order. This is to maintain - consistency with similar features such as - :attr:`.MetaData.sorted_tables` and :func:`.util.sort_tables`. - .. seealso:: :meth:`.Inspector.get_sorted_table_and_fkc_names` @@ -511,8 +505,6 @@ class Inspector(object): of the database connection. For special quoting, use :class:`.quoted_name`. - .. versionadded:: 0.8.4 - """ return self.dialect.get_unique_constraints( |
