diff --git a/pydra/engine/specs.py b/pydra/engine/specs.py index 20d4661bda..e010938d9c 100644 --- a/pydra/engine/specs.py +++ b/pydra/engine/specs.py @@ -69,7 +69,7 @@ class SpecInfo: """A name for the specification.""" fields: ty.List[ty.Tuple] = attr.ib(factory=list) """List of names of fields (can be inputs or outputs).""" - bases: ty.Tuple[ty.Type] = attr.ib(factory=tuple) + bases: ty.Sequence[ty.Type["BaseSpec"]] = attr.ib(factory=tuple) """Keeps track of specification inheritance. Should be a tuple containing at least one BaseSpec """