-
Notifications
You must be signed in to change notification settings - Fork 1k
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
mypy does not recognize keyword arguments to json_serializable_dataclass instances #2769
Comments
looks fairly hopeless: https://mypy.readthedocs.io/en/stable/additional_features.html#caveats-known-issues |
Do we want to remove json_serializable_dataclass decorator? It doesn't look like ti is used anywhere. |
It's used once in |
I would not object to removing it, if the drawbacks exceed the marginal benefit |
this annotation should be deprecated: #4460 use the dataclass helper function in a regular ol' method instead |
Resolved by #5208. |
To reproduce:
test.py
incirq/
with the following contents:check/mypy
. This gives the following output:The text was updated successfully, but these errors were encountered: