8000 Feature Request: Please Add Type-hint · Issue #750 · stripe/stripe-python · GitHub
[go: up one dir, main page]

Skip to content

Feature Request: Please Add Type-hint #750

New issue

Have a question about this project? S 8000 ign 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

Closed
KeisukeNagakawa opened this issue Dec 2, 2021 · 1 comment
Closed

Feature Request: Please Add Type-hint #750

KeisukeNagakawa opened this issue Dec 2, 2021 · 1 comment
Assignees

Comments

@KeisukeNagakawa
Copy link

Hi, is there any plan for adding type-hint for Stripe?
It's hard for new comer like me to write correct method or variable type without type-hints.

Thanks.

@remi-stripe remi-stripe self-assigned this Dec 2, 2021
@remi-stripe
Copy link
Contributor

@KeisukeNagakawa It's something we want to do in the future but no short term plans for this. Adding type hints will require typing most objects which in turns requiring "pinning" those objects to a specific version of our API, so that you have the right exact list of properties or parameters. This comes at a cost in ease of adoption of the library too and would require major reworks too

We know we will get to this in the future but it's not something we're working on at the moment unfortunately. I'm going to close as we already have #650 for this but thanks for the feedback, we definitely hear it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0