diff --git a/python/lsst/pipe/base/quantum_provenance_graph.py b/python/lsst/pipe/base/quantum_provenance_graph.py index 9ece3200..bd6d9508 100644 --- a/python/lsst/pipe/base/quantum_provenance_graph.py +++ b/python/lsst/pipe/base/quantum_provenance_graph.py @@ -279,13 +279,13 @@ class TaskSummary(pydantic.BaseModel): """The number of quanta expected by the graph. """ - @pydantic.computed_field # type: ignore[misc] + @pydantic.computed_field @property def n_wonky(self) -> int: """Return a count of `wonky` quanta.""" return len(self.wonky_quanta) - @pydantic.computed_field # type: ignore[misc] + @pydantic.computed_field @property def n_failed(self) -> int: """Return a count of `failed` quanta.""" @@ -435,13 +435,13 @@ class DatasetTypeSummary(pydantic.BaseModel): """The number of datasets of this type expected by the graph. """ - @pydantic.computed_field # type: ignore[misc] + @pydantic.computed_field @property def n_cursed(self) -> int: """Return a count of cursed datasets.""" return len(self.cursed_datasets) - @pydantic.computed_field # type: ignore[misc] + @pydantic.computed_field @property def n_unsuccessful(self) -> int: """Return a count of unsuccessful datasets."""