]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commit
Use inspect(), not Inspector.from_engine()
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 3 Feb 2020 17:20:10 +0000 (12:20 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 3 Feb 2020 17:27:07 +0000 (12:27 -0500)
commit57dc69601d33e07c488d95d9efed7a40efa16854
treedcd6abcf1dd1eccbeea9e7548de21f0191e24734
parentbd0770661dd9879780b2e6248083f80c11dce92a
Use inspect(), not Inspector.from_engine()

The internal inspection routines no longer use SQLAlchemy's
``Inspector.from_engine()`` method, which is expected to be deprecated in
1.4.  The ``inspect()`` function is now used.

Change-Id: I81ea16e5d750d8c48d8db1a5098815988ea60f6c
alembic/autogenerate/api.py
alembic/autogenerate/compare.py
docs/build/unreleased/inspect.rst [new file with mode: 0644]
tests/_autogen_fixtures.py
tests/test_autogen_diffs.py
tests/test_batch.py
tests/test_script_production.py
tests/test_sqlite.py
tests/test_version_table.py