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
I wanted to know if someone already had this: I have error with no line number, so I don't really know how to debug them. For example, you can this failing pipeline which shows
paramclasses/paramclasses.py: error: Incompatible types in assignment (expression has type "object", variable has type "list[object]") [assignment]
paramclasses/paramclasses.py: error: Incompatible types in assignment (expression has type "object", variable has type "dict[str, object]") [assignment]
It's not "global", as before I had errors with and without line numbers
paramclasses/paramclasses.py: error: Incompatible types in assignment (expression has type "object", variable has type "list[Any]") [assignment]
paramclasses/paramclasses.py: error: Incompatible types in assignment (expression has type "object", variable has type "dict[Any, Any]") [assignment]
paramclasses/paramclasses.py:272: error: "type" has no attribute "__post_init__"; maybe "__init__"? [attr-defined]
paramclasses/paramclasses.py:528: error: Need type annotation for "args" (hint: "args: list[<type>] = ...") [var-annotated]
...
Thanks in advance!
Élie
The text was updated successfully, but these errors were encountered:
Thanks for finding a MWE. I think you could also add the # type: ignore[assignment] to complete it (after double-checking, i'm currently unable to, writing from my phone).
Uh oh!
There was an error while loading. Please reload this page.
Hi there,
I wanted to know if someone already had this: I have error with no line number, so I don't really know how to debug them. For example, you can this failing pipeline which shows
It's not "global", as before I had errors with and without line numbers
The text was updated successfully, but these errors were encountered: