Skip to content

CLN: typing and renaming in computation.pytables #29778

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
Nov 22, 2019

Conversation

jbrockmendel
Copy link
Member

  • closes #xxxx
  • tests added / passed
  • passes black pandas
  • passes git diff upstream/master -u -- "*.py" | flake8 --diff
  • whatsnew entry

@@ -270,7 +271,7 @@ def evaluate(self):
raise ValueError("query term is not valid [{slf}]".format(slf=self))

rhs = self.conform(self.rhs)
values = [TermValue(v, v, self.kind).value for v in rhs]
values = list(rhs)
Copy link
Member Author

Choose a reason for hiding this comment

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

this is the most non-trivial change. It allows us to type the kind arg to TermValue as str, and in turn simplify some other parts of TermValue

@jreback jreback added the Typing type annotations, mypy/pyright type checking label Nov 22, 2019
@jreback jreback added this to the 1.0 milestone Nov 22, 2019
@jreback jreback merged commit 1819bbb into pandas-dev:master Nov 22, 2019
@jreback
Copy link
Contributor

jreback commented Nov 22, 2019

this is fine

@jbrockmendel jbrockmendel deleted the master2 branch November 22, 2019 16:34
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.

2 participants