From 89ccab00e33c9a80f2d94e656a489b63c7d51e7a Mon Sep 17 00:00:00 2001 From: Gord Thompson Date: Sat, 12 Dec 2020 09:29:12 -0700 Subject: Remove autoload=True references Remove references to deprecated ``autoload=True`` in docs and code samples. Also remove test/dialect/test_firebird.py and test/dialect/test_sybase.py as those tests have already been incorporated into the external dialects. Change-Id: I9788c27c971e3b2357f4cfa2d4698a6af727b073 --- lib/sqlalchemy/dialects/oracle/base.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'lib/sqlalchemy/dialects/oracle/base.py') diff --git a/lib/sqlalchemy/dialects/oracle/base.py b/lib/sqlalchemy/dialects/oracle/base.py index 4e195d9ce..3ead97faf 100644 --- a/lib/sqlalchemy/dialects/oracle/base.py +++ b/lib/sqlalchemy/dialects/oracle/base.py @@ -68,11 +68,11 @@ to a Column construct:: Column(...), ... ) -This step is also required when using table reflection, i.e. autoload=True:: +This step is also required when using table reflection, i.e. autoload_with=engine:: t = Table('mytable', metadata, Column('id', Integer, Sequence('id_seq'), primary_key=True), - autoload=True + autoload_with=engine ) .. versionchanged:: 1.4 Added :class:`_schema.Identity` construct @@ -345,8 +345,7 @@ for tables indicated by synonyms, either in local or remote schemas or accessed over DBLINK, by passing the flag ``oracle_resolve_synonyms=True`` as a keyword argument to the :class:`_schema.Table` construct:: - some_table = Table('some_table', autoload=True, - autoload_with=some_engine, + some_table = Table('some_table', autoload_with=some_engine, oracle_resolve_synonyms=True) When this flag is set, the given name (such as ``some_table`` above) will -- cgit v1.2.1