diff --git a/fgpyo/util/metric.py b/fgpyo/util/metric.py index 9cda23ee..72907d1b 100644 --- a/fgpyo/util/metric.py +++ b/fgpyo/util/metric.py @@ -226,7 +226,7 @@ def parse(cls, fields: List[str]) -> Any: return inspect.attr_from(cls=cls, kwargs=dict(zip(header, fields)), parsers=parsers) @classmethod - def write(cls, path: Path, *values: MetricType) -> None: + def write(cls, path: Path, *values: "Metric") -> None: """Writes zero or more metrics to the given path. The header will always be written.