From 24550ee5968e30907b7c73999a07b9e59611a5fe Mon Sep 17 00:00:00 2001 From: Jim Bosch Date: Wed, 5 Jul 2023 15:10:55 -0400 Subject: [PATCH] Remove unused 'type: ignore' directives. Quantum's attributes have flopped about a bit lately between 'list' and 'tuple' before settling on 'Sequence'. --- python/lsst/pipe/base/graph/_implDetails.py | 4 ++-- python/lsst/pipe/base/graphBuilder.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/python/lsst/pipe/base/graph/_implDetails.py b/python/lsst/pipe/base/graph/_implDetails.py index 6472ab06..5c9e1c24 100644 --- a/python/lsst/pipe/base/graph/_implDetails.py +++ b/python/lsst/pipe/base/graph/_implDetails.py @@ -320,8 +320,8 @@ def _pruner( taskClass=node.quantum.taskClass, dataId=node.quantum.dataId, initInputs=node.quantum.initInputs, - inputs=helper.inputs, # type: ignore - outputs=helper.outputs, # type: ignore + inputs=helper.inputs, + outputs=helper.outputs, ) # If the inputs or outputs were adjusted to something different # than what was supplied by the graph builder, dissassociate diff --git a/python/lsst/pipe/base/graphBuilder.py b/python/lsst/pipe/base/graphBuilder.py index fb5620f0..61c12b6a 100644 --- a/python/lsst/pipe/base/graphBuilder.py +++ b/python/lsst/pipe/base/graphBuilder.py @@ -461,8 +461,8 @@ def makeQuantum(self, datastore_records: Mapping[str, DatastoreRecordData] | Non taskClass=self.task.taskDef.taskClass, dataId=self.dataId, initInputs=initInputs, - inputs=helper.inputs, # type: ignore - outputs=helper.outputs, # type: ignore + inputs=helper.inputs, + outputs=helper.outputs, datastore_records=quantum_records, )