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
"dict[str, Any]" is incompatible with protocol "Data"
"keys" is an incompatible type
Type "() -> dict_keys[str, Any]" is not assignable to type "() -> None"
Function return type "dict_keys[str, Any]" is incompatible with type "None"
"dict_keys[str, Any]" is not assignable to "None"
"__getitem__" is an incompatible type
Type "(key: str, /) -> Any" is not assignable to type "(item: Unknown) -> None"
Missing keyword parameter "item"
... (reportArgumentType)
The newly introduced in
1.9.1
data protocol:https://github.com/konradhalas/dacite/blob/master/dacite/data.py
is type-check incompatible with built-in
dict
type hint:and triggers the following error with
pyright
The following change resolves the issue:
The text was updated successfully, but these errors were encountered: