summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/dialects/mysql/base.py
diff options
context:
space:
mode:
authorGord Thompson <gord@gordthompson.com>2020-12-12 09:29:12 -0700
committerGord Thompson <gord@gordthompson.com>2020-12-12 16:40:34 -0700
commit89ccab00e33c9a80f2d94e656a489b63c7d51e7a (patch)
tree77fa7cc383354981b902b3c92a8cecaab1e1298e /lib/sqlalchemy/dialects/mysql/base.py
parentd55971119aa48590416193b8b0e0f54aa0e97c82 (diff)
downloadsqlalchemy-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/mysql/base.py')
-rw-r--r--lib/sqlalchemy/dialects/mysql/base.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqlalchemy/dialects/mysql/base.py b/lib/sqlalchemy/dialects/mysql/base.py
index b5fb0933b..e4cfa79df 100644
--- a/lib/sqlalchemy/dialects/mysql/base.py
+++ b/lib/sqlalchemy/dialects/mysql/base.py
@@ -723,7 +723,7 @@ reflection will not include foreign keys. For these tables, you may supply a
Table('mytable', metadata,
ForeignKeyConstraint(['other_id'], ['othertable.other_id']),
- autoload=True
+ autoload_with=engine
)
.. seealso::
@@ -748,7 +748,7 @@ When reflecting these constructs, the
and the :meth:`_reflection.Inspector.get_unique_constraints`
methods will **both**
return an entry for a UNIQUE index in MySQL / MariaDB. However, when performing
-full table reflection using ``Table(..., autoload=True)``,
+full table reflection using ``Table(..., autoload_with=engine)``,
the :class:`.UniqueConstraint` construct is
**not** part of the fully reflected :class:`_schema.Table` construct under any
circumstances; this construct is always represented by a :class:`.Index`