Skip to content

Update SQLAlchemy stubs for 1.4.30 #6973

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

Merged
merged 1 commit into from
Jan 20, 2022
Merged

Conversation

srittau
Copy link
Collaborator

@srittau srittau commented Jan 20, 2022

Closes: #6971

@srittau
Copy link
Collaborator Author

srittau commented Jan 20, 2022

stubtest failures are unrelated.

@@ -54,7 +54,7 @@ class AsyncAdapt_asyncmy_dbapi:
asyncmy: Any
pymysql: Any
paramstyle: str
def __init__(self, asyncmy, pymysql) -> None: ...
def __init__(self, asyncmy: Any) -> None: ...
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this annotated with Any as opposed to not being annotated at all?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This gets passed the asyncmy module. I don't think we have a proper way to annotate this, except for maybe using ModuleType, which doesn't seem right either.

@Akuli Akuli merged commit fb6c962 into python:master Jan 20, 2022
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.

stubtest is failing for SQLAlchemy
2 participants