-
-
Notifications
You must be signed in to change notification settings - Fork 19.4k
Open
Labels
API DesignNeeds DiscussionRequires discussion from core team before further actionRequires discussion from core team before further actionTypingtype annotations, mypy/pyright type checkingtype annotations, mypy/pyright type checking
Description
Two questions related to symbols exported in the various api.py files that currently come up in a few pandas-stubs PRs.
- Are all symbols in the
api.pyfiles meant to be public (I assume yes, some might be missing in the docs) - Is it intended to import directly from those
api.pyfiles (I assume no, instead they should be imported from the pandas namespace)
Similar to api.py, users might want to import symbols from __init__.py files. I assume symbols in __init__.py might not necessarily be public and should not be important from there (except from the root __init__.py).
Metadata
Metadata
Assignees
Labels
API DesignNeeds DiscussionRequires discussion from core team before further actionRequires discussion from core team before further actionTypingtype annotations, mypy/pyright type checkingtype annotations, mypy/pyright type checking