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
Putting the Schema variable as Schema: ClassVar[Type[mm.Schema]] also doesn't help.
Shouldn't this type check? It seems that the type is insofar wrong, as mm.Schema.load() does indeed not return the class PostverteilungInput but only Unknown | list[Unknown] | dict[Unknown, Unknown] | None. But this seems to be what the documentation recommends.
It seems I am missing something about how the typing is supposed to work here. :/
The text was updated successfully, but these errors were encountered:
Hi there,
not quite sure what is going on, but this code doesn't type check for me in the Zed Editor.
Putting the Schema variable as
Schema: ClassVar[Type[mm.Schema]]
also doesn't help.Shouldn't this type check? It seems that the type is insofar wrong, as
mm.Schema.load()
does indeed not return the classPostverteilungInput
but onlyUnknown | list[Unknown] | dict[Unknown, Unknown] | None
. But this seems to be what the documentation recommends.It seems I am missing something about how the typing is supposed to work here. :/
The text was updated successfully, but these errors were encountered: