Skip to content

Conversation

@jbrockmendel
Copy link
Member

  • closes #xxxx
  • tests added / passed
  • Ensure all linting tests pass, see here for how to run them
  • whatsnew entry

@jbrockmendel jbrockmendel added the Typing type annotations, mypy/pyright type checking label Apr 4, 2021
@jreback jreback added this to the 1.3 milestone Apr 8, 2021
@jreback jreback merged commit 8a5afc2 into pandas-dev:master Apr 8, 2021
@jbrockmendel jbrockmendel deleted the typ-no_default-2 branch April 8, 2021 14:26

from pandas._libs.lib import no_default
from pandas._libs.lib import (
NoDefault,
Copy link
Member

Choose a reason for hiding this comment

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

we should probably import from pandas._typing.

alternatively we could have no_default as 'Any' in pandas/_libs/lib.pyi and not need to have any reference to it in the function signatures which are visible to end users and could be confusing/misleading. we should never pass lib.no_default explicitly unless passing it along to a lower level function

JulianWgs pushed a commit to JulianWgs/pandas that referenced this pull request Jul 3, 2021
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