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

PEP 484 no .pyi file present #1111

Open
reagle opened this issue Jun 6, 2022 · 2 comments
Open

PEP 484 no .pyi file present #1111

reagle opened this issue Jun 6, 2022 · 2 comments

Comments

@reagle
Copy link

reagle commented Jun 6, 2022

Hi, I've been trying to make use of type hints and just used this library for the first time. Your documentation says "Full support for PEP 484-style type hints" but I don't see what types I can use via a pyi file or documentation.

@krisfremen
Copy link
Member

krisfremen commented Jun 6, 2022

We don't have stub files(pyi) as the type hints are in the code itself.

The docs at https://arrow.readthedocs.io/en/latest/#api-guide also have the return types for each function/method.

@reagle
Copy link
Author

reagle commented Jun 6, 2022

Again, I apologize for my newb, but I looked briefly at the code and wasn’t sure what the annotations would be that I could use with mypy for instance. I looked at the tests in particular for annotations on function signatures.

@systemcatch systemcatch changed the title You say you support PEP 484 in README, but there's no .pyi file documenting types for library PEP 484 no .pyi file present Jun 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants