-
Notifications
You must be signed in to change notification settings - Fork 74
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
added the type 'Optional' to all optional parameters for async functions #855
base: main
Are you sure you want to change the base?
Conversation
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
I signed the CLA |
145172e
to
9dd0cdb
Compare
Hey David, thanks for putting this together. At the root of the typing issues in this library is the fact that the mypy type checker is currently mis-configured, so none of the type hints are verified, and a lot of them are wrong. I don't want to make changes to the type hints without getting the verification check working, to make sure we're making the right changes. But turning it all on at once would force a giant change across the entire codebase. So I'm thinking we'll have to explicitly opt-in individual files as we touch different parts of the code, and get the types fixed over time. TL;DR: Do you think you can change the mypy session in the noxfile to this to validate the types of the files you changed?:
It looks like with this mypy check running, there are 9 errors that still need to be addressed. If you're willing to take those on and get these files passing, that would be great! But if it looks like too much work, let me know and I can take a look Thanks |
This should fix the typing errors for async functions
Fixes #854
@daniel-sanche