-
Notifications
You must be signed in to change notification settings - Fork 229
Fix static type checking for grpclib client #124
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
Conversation
@boukeversteegh can you please re-trigger the 3.6 build please? Not sure why it is failing on the CI, local tests pass. |
@abn I've rerun the tests, and this time there are some more detailed errors being shown. Perhaps we need to extend both ABC and IProtoMessage? |
I suspect it is an issue with the dataclasses backport implementation for 3.6. I am curious why local tests ran okay for 3.6. Will look at it soon. |
c4de500
to
6b44f13
Compare
@boukeversteegh seems that by fixing the inheritence we corrected a code path that triggered a python 3.6 compatibility issue. As mentioned above, looks like the issue has to do with subtle differences between dataclasses and dataclasses backport. |
6b44f13
to
ce2bea2
Compare
@nat-n @boukeversteegh I have updated the fix to appraoch it a bit differently; rather than changing the inheritence I have now changed the type hinting so that it explicitly suggests |
Thanks for the changes, this looks good now. |
This reverts commit beafc81
* Fix static type checking in grpclib client * Fix python3.6 compatibility issue with dataclasses
No description provided.