diff options
author | Gord Thompson <gord@gordthompson.com> | 2020-12-12 09:29:12 -0700 |
---|---|---|
committer | Gord Thompson <gord@gordthompson.com> | 2020-12-12 16:40:34 -0700 |
commit | 89ccab00e33c9a80f2d94e656a489b63c7d51e7a (patch) | |
tree | 77fa7cc383354981b902b3c92a8cecaab1e1298e /lib/sqlalchemy/dialects/oracle | |
parent | d55971119aa48590416193b8b0e0f54aa0e97c82 (diff) | |
download | sqlalchemy-89ccab00e33c9a80f2d94e656a489b63c7d51e7a.tar.gz |
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
Diffstat (limited to 'lib/sqlalchemy/dialects/oracle')
-rw-r--r-- | lib/sqlalchemy/dialects/oracle/base.py | 7 |
1 files changed, 3 insertions, 4 deletions
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 |