-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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 sqlalchemy stubs #857
Conversation
… Changed sqlalchemy/util/compat.pyi:37 to typing.Text
…ncomplete stub for class third_party/2and3/sqlalchemy/sql/elements/ColumnElement
@gvanrossum Yes. I'm hoping to send a PR before/on the weekend. |
foreign_keys = [] # type: Any | ||
_label = None | ||
_key_label = key = None | ||
_alt_names = () |
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.
Missed variable annotations above are failing mypy's own tests.
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.
Guess I'll just annotate them with Any for now... I'll submit a PR in a few days.
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.
I already did, no worries! Just keep this in mind for future PRs.
I believe this covers both 647 and 719.
Moved sqlalchemy stubs from 2 to 2and3;
changed sqlalchemy/util/compat.pyi:37 to be of type typing.Text;
added incomplete stubs for sqlalchemy.orm.utils and slqalchemy.sql.elements.ColumnElement.