Skip to content

Commit

Permalink
Merge pull request #860 from lsst/tickets/DM-39876-hotfix
Browse files Browse the repository at this point in the history
DM-39876: Allow more generic sequence type for quantum inputs/outputs
  • Loading branch information
timj authored Jul 5, 2023
2 parents 6234c53 + 1ad3f5a commit bc92477
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/lsst/daf/butler/core/quantum.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

import sys
import warnings
from collections.abc import Iterable, Mapping, MutableMapping
from collections.abc import Iterable, Mapping, MutableMapping, Sequence
from typing import Any

from lsst.utils import doImportType
Expand Down Expand Up @@ -217,8 +217,8 @@ def __init__(
taskClass: type | None = None,
dataId: DataCoordinate | None = None,
initInputs: Mapping[DatasetType, DatasetRef] | Iterable[DatasetRef] | None = None,
inputs: Mapping[DatasetType, list[DatasetRef]] | None = None,
outputs: Mapping[DatasetType, list[DatasetRef]] | None = None,
inputs: Mapping[DatasetType, Sequence[DatasetRef]] | None = None,
outputs: Mapping[DatasetType, Sequence[DatasetRef]] | None = None,
datastore_records: Mapping[str, DatastoreRecordData] | None = None,
):
if taskClass is not None:
Expand Down

0 comments on commit bc92477

Please sign in to comment.