Skip to content

TYP: pandas/io annotations from pandas-stubs #47831

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
Jul 25, 2022
Merged

TYP: pandas/io annotations from pandas-stubs #47831

merged 1 commit into from
Jul 25, 2022

Conversation

twoertwein
Copy link
Member

Copied annotations from pandas-stubs when pandas has no annotations

@@ -216,10 +215,10 @@ def read_sql_table(
table_name: str,
con,
schema: str | None = None,
index_col: str | Sequence[str] | None = None,
index_col: str | list[str] | None = None,
Copy link
Member Author

Choose a reason for hiding this comment

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

One of the helper functions checks specifically for list

@mroeschke mroeschke added this to the 1.5 milestone Jul 25, 2022
@mroeschke mroeschke added IO Data IO issues that don't fit into a more specific label Typing type annotations, mypy/pyright type checking labels Jul 25, 2022
@mroeschke mroeschke merged commit cedd9c7 into pandas-dev:main Jul 25, 2022
@mroeschke
Copy link
Member

Thanks @twoertwein

@twoertwein twoertwein deleted the io branch September 10, 2022 01:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IO Data IO issues that don't fit into a more specific label Typing type annotations, mypy/pyright type checking
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants