You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a bug in the chex library. The chex.dataclass decorator has no type annotations despite the fact that the package contains a "py.typed" marker file.
This issue still persists. The only way to handle this is to add a # pyright: ignore at the end of the line, which is obviously not the right solution here.
Applying the
chex.dataclass
wrapper to a class yields the following error:microsoft/pyright#6536 (comment)
microsoft/pyright#6536 (comment)
https://github.com/python/typeshed/blob/main/stdlib/dataclasses.pyi
The text was updated successfully, but these errors were encountered: