-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
CLN: clean sqlalchemy import #42546
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
CLN: clean sqlalchemy import #42546
Conversation
class SQLAlchemyRequired(ImportError): | ||
pass |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unused
thanks @fangchenli very nice as always! |
Just a note: this broke our tests where we were passing a mock in as a SQLite conn, which with this change leads to the SQLAlchemy import being attempted. Worked around by setting |
xref #40686