We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 878b65e commit 61c80cfCopy full SHA for 61c80cf
fgpyo/util/inspect.py
@@ -74,7 +74,7 @@ def get_attr_fields_dict(cls: type) -> Dict[str, dataclasses.Field]: # type: ig
74
75
# https://github.com/python/typeshed/blob/727f3c4320d2af3af2f16695e24dd78e79b7c070/stdlib/_typeshed/__init__.pyi#L348
76
class DataclassInstance(Protocol):
77
- __dataclasses_fields__: ClassVar[Dict[str, dataclasses.Field[Any]]]
+ __dataclasses_fields__: ClassVar[Dict[str, dataclasses.Field]]
78
79
80
if TYPE_CHECKING and _use_attr: # pragma: no cover
0 commit comments