Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix SADeprecationWarning from_engine() method on Inspector is deprecated and will be removed #750

Closed
chrisjsimpson opened this issue Jan 9, 2022 · 1 comment
Labels
released This issue/pull request has been released.

Comments

@chrisjsimpson
Copy link
Contributor

chrisjsimpson commented Jan 9, 2022

Is your feature request related to a problem? Please describe.

Steps to re-produce: When running basic pytests:

python -m pytest --ignore=node_modules # run pytest

Fix SADeprecationWarning from_engine() method on Inspector is deprecated and will be removed

SADeprecationWarning: The from_engine() method on Inspector is deprecated and will be removed in a future release.  Please use the sqlalchemy.inspect() function on an Engine or Connection in order to acquire an Inspector. (deprecated since: 1.4)
    inspector = Inspector.from_engine(conn)

Describe the solution you'd like

Describe alternatives you've considered

Additional context

chrisjsimpson added a commit that referenced this issue Jan 9, 2022
SADeprecationWarning: The from_engine() method on Inspector is deprecated and will be removed in a future release.  Please use the sqlalchemy.inspect() function on an Engine or Connection in order to acquire an Inspector. (deprecated since: 1.4)
    inspector = Inspector.from_engine(conn)
@github-actions
Copy link

🚀 Issue was released in v0.1.7 🚀

@github-actions github-actions bot added the released This issue/pull request has been released. label Jan 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released This issue/pull request has been released.
Projects
None yet
Development

No branches or pull requests

1 participant