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 sqlalchemy stubs #857

Merged
merged 5 commits into from
Jan 23, 2017
Merged

Update sqlalchemy stubs #857

merged 5 commits into from
Jan 23, 2017

Conversation

WouldYouKindly
Copy link
Contributor

@WouldYouKindly WouldYouKindly commented Jan 22, 2017

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.

ptz and others added 5 commits January 22, 2017 18:46
… Changed sqlalchemy/util/compat.pyi:37 to typing.Text
…ncomplete stub for class third_party/2and3/sqlalchemy/sql/elements/ColumnElement
@WouldYouKindly WouldYouKindly changed the title Move sqlalchemy stubs from 2 to 2and3; add incomplete stubs for sqlalchemy.orm.utils and slqalchemy.sql.elements.ColumnElement Update sqlalchemy stubs Jan 22, 2017
@gvanrossum gvanrossum merged commit ccdc609 into python:master Jan 23, 2017
@gvanrossum
Copy link
Member

Thanks!!! I've verified this only to the extent that it doesn't cause regressions for our internal codebases.

I'll now close #719.

Regarding #647, do you feel up to extracting the pymysql stubs from that and submitting those as a separate PR?

@WouldYouKindly
Copy link
Contributor Author

@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 = ()
Copy link
Contributor

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.

Copy link
Contributor Author

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.

Copy link
Contributor

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.

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.

3 participants