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

Update check for existing table #71

Merged
merged 3 commits into from
Aug 27, 2021
Merged

Update check for existing table #71

merged 3 commits into from
Aug 27, 2021

Conversation

janfreyberg
Copy link
Owner

@janfreyberg janfreyberg commented Aug 27, 2021

A change in sqlalchemy 1.4 changed how to check whether a table exists. This enables the new check and the old check, tested on sqlalchemy 1.3 and 1.4.

This fixes #69

Co-authored-by: Jordi Aranda jarandaf@users.noreply.github.com

janfreyberg and others added 2 commits August 27, 2021 08:40
A change in sqlalchemy 1.4 changed how to check
whether a table exists. This enables the new check
and the old check, tested on sqlalchemy 1.3 and 1.4.

Co-authored-by: Jordi Aranda <jarandaf@users.noreply.github.com>
Newer versions of mypy complain when named tuple is passed the wrong name.
Also added types-cachetools as a test dependency to ensure mypy checks pass.
@janfreyberg
Copy link
Owner Author

@jarandaf - this should fix the issue you were seeing. I added you as a co-author to the commit, to make sure you get credit for finding the fix :)

@janfreyberg janfreyberg merged commit be4f805 into master Aug 27, 2021
@janfreyberg janfreyberg deleted the fix-sqlalchemy-bug branch August 27, 2021 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error instantiating MultiClassLabeller in distributed mode
1 participant