dataclasses.asdict
definition is not correct
#8518
Labels
stubs: false positive
Type checkers report false errors
Example:
But, since
dict
is used a default implementation, it should be valid.Source: https://github.com/python/cpython/blob/325ae93b6b7113cd4a4c2ce441615ae7def779e2/Lib/dataclasses.py#L1254
Found in python/mypy#13367
The text was updated successfully, but these errors were encountered: