Skip to content

Commit 16d3f60

Browse files
committed
fix: 3.8 compatible Dict typing
1 parent 32544ed commit 16d3f60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fgpyo/util/metric.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ def is_attrs_instance(metric: Metric) -> TypeGuard[AttrsInstance]:
382382
return not isclass(metric) and attr.has(metric.__class__)
383383

384384

385-
def asdict(metric: Metric) -> dict[str, Any]:
385+
def asdict(metric: Metric) -> Dict[str, Any]:
386386
"""
387387
Convert a Metric instance to a dictionary.
388388

0 commit comments

Comments
 (0)