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/ext/declarative | |
| 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/ext/declarative')
| -rw-r--r-- | lib/sqlalchemy/ext/declarative/extensions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/ext/declarative/extensions.py b/lib/sqlalchemy/ext/declarative/extensions.py index 1f0c82471..32344d538 100644 --- a/lib/sqlalchemy/ext/declarative/extensions.py +++ b/lib/sqlalchemy/ext/declarative/extensions.py @@ -316,7 +316,7 @@ class DeferredReflection(object): a deferred reflection step. Normally, declarative can be used with reflection by - setting a :class:`_schema.Table` object using autoload=True + setting a :class:`_schema.Table` object using autoload_with=engine as the ``__table__`` attribute on a declarative class. The caveat is that the :class:`_schema.Table` must be fully reflected, or at the very least have a primary key column, |
