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

TYP: more annotations for io.pytables #29703

Merged
merged 18 commits into from
Nov 20, 2019

Conversation

jbrockmendel
Copy link
Member

should be orthogonal to #29692.

Copy link
Member

@WillAyd WillAyd left a comment

Choose a reason for hiding this comment

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

Looks good. A few non-blockers that could be improved otherwise @simonjayhawkins

@@ -1123,7 +1142,7 @@ def append_to_multiple(

# figure out how to split the value
remain_key = None
remain_values = []
remain_values: List = []
Copy link
Member

Choose a reason for hiding this comment

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

Any chance of adding a subtype here?

Copy link
Member Author

Choose a reason for hiding this comment

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

same here and below: i'm pretty sure we'll be able to be more specific in these after #29692

@@ -1077,7 +1089,14 @@ def append(
self._write_to_group(key, value, append=append, dropna=dropna, **kwargs)

def append_to_multiple(
self, d, value, selector, data_columns=None, axes=None, dropna=False, **kwargs
self,
d: Dict,
Copy link
Member

Choose a reason for hiding this comment

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

Same comment

@WillAyd WillAyd added this to the 1.0 milestone Nov 19, 2019
@WillAyd WillAyd added the Typing type annotations, mypy/pyright type checking label Nov 19, 2019
@jreback jreback merged commit 6bfd03e into pandas-dev:master Nov 20, 2019
@jreback
Copy link
Contributor

jreback commented Nov 20, 2019

thanks

@jbrockmendel jbrockmendel deleted the cln-pytables4 branch November 20, 2019 15:16
jacobaustin123 pushed a commit to jacobaustin123/pandas that referenced this pull request Nov 20, 2019
proost pushed a commit to proost/pandas that referenced this pull request Dec 19, 2019
proost pushed a commit to proost/pandas that referenced this pull request Dec 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Typing type annotations, mypy/pyright type checking
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants