Skip to content

sqlalchemy>=1.4.8 updates breaks sqlaltery.command._table_exists

Recent changes to SQLAlchemy check to ensure that Engine.dialect.has_table is passed a Connection object - not an Engine object. https://github.com/sqlalchemy/sqlalchemy/commit/b26cf96462b195a4c12ccdf8283ef028f91eb872

sqlalchemy.exc.ArgumentError: The argument passed to Dialect.has_table() should be a <class 'sqlalchemy.engine.base.Connection'>, got <class 'sqlalchemy.engine.base.Engine'>. Additionally, the Dialect.has_table() method is for internal dialect use only; please use ``inspect(some_engine).has_table(<tablename>>)`` for public API use.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information