Skip to content

Commit

Permalink
Revert "fix: Add return type hint to Metric.read() (#110)" (#173)
Browse files Browse the repository at this point in the history
This reverts commit f23a4ea.
  • Loading branch information
msto authored Aug 2, 2024
1 parent 02d6633 commit 4717291
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fgpyo/util/metric.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def _parsers(cls) -> Dict[type, Callable[[str], Any]]:
return {}

@classmethod
def read(cls, path: Path, ignore_extra_fields: bool = True) -> Iterator["Metric[MetricType]"]:
def read(cls, path: Path, ignore_extra_fields: bool = True) -> Iterator[Any]:
"""Reads in zero or more metrics from the given path.
The metric file must contain a matching header.
Expand Down

0 comments on commit 4717291

Please sign in to comment.