Skip to content

Commit 61c80cf

Browse files
committed
fix: 3.8 hint
1 parent 878b65e commit 61c80cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fgpyo/util/inspect.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def get_attr_fields_dict(cls: type) -> Dict[str, dataclasses.Field]: # type: ig
7474

7575
# https://github.com/python/typeshed/blob/727f3c4320d2af3af2f16695e24dd78e79b7c070/stdlib/_typeshed/__init__.pyi#L348
7676
class DataclassInstance(Protocol):
77-
__dataclasses_fields__: ClassVar[Dict[str, dataclasses.Field[Any]]]
77+
__dataclasses_fields__: ClassVar[Dict[str, dataclasses.Field]]
7878

7979

8080
if TYPE_CHECKING and _use_attr: # pragma: no cover

0 commit comments

Comments
 (0)