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

Adding type hints so static analyzers like mypy can work with google.cloud #10540

Open
maroux opened this issue Mar 9, 2021 · 8 comments
Open
Labels
type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@maroux
Copy link

maroux commented Mar 9, 2021

No description provided.

@maroux maroux changed the title Adding type hints to static analyzers like mypy can work with google.cloud Adding type hints so static analyzers like mypy can work with google.cloud Mar 9, 2021
@busunkim96
Copy link
Contributor

Hi @maroux,

Is this a general request for the google-cloud-* libraries, or do you have a particular library you're interested in?

@busunkim96 busunkim96 added the type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. label Mar 9, 2021
@maroux
Copy link
Author

maroux commented Mar 9, 2021

@busunkim96 well, it applies to all gcloud libraries but in particular I hit this problem with the storage library. I can open an issue with that repo if that's helpful.

@busunkim96
Copy link
Contributor

Hi @maroux,

If you could also open a issue there that would be great. https://github.com/googleapis/python-storage/issues I believe storage is still technically supporting 2.7 so that is probably one blocker.

@maroux
Copy link
Author

maroux commented Mar 9, 2021

Done googleapis/python-storage#393

@kovalevvlad
Copy link

+1. Absence of type hints is making working with these libraries a much less pleasant experience both from the UX perspective (in the IDE) and the productionization perspective (static analysis).

@beberry
Copy link

beberry commented Aug 2, 2023

Adding type hints would've prevented a recent bug that I worked on while integrating recaptcha. Any updates if this is something that might be introduced in google-cloud package? Any alternatives that folks suggest?

@AutonomousCat
Copy link

+1

1 similar comment
@raulsf6
Copy link

raulsf6 commented May 13, 2024

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

No branches or pull requests

6 participants