diff --git a/python-spec/src/somacore/coordinates.py b/python-spec/src/somacore/coordinates.py index 83555e8..3f09ef6 100644 --- a/python-spec/src/somacore/coordinates.py +++ b/python-spec/src/somacore/coordinates.py @@ -26,7 +26,7 @@ class Axis: @attrs.define(frozen=True) -class CoordinateSpace(collections.abc.Sequence): +class CoordinateSpace(collections.abc.Sequence[Axis]): """A coordinate space for spatial data. Args: @@ -35,7 +35,7 @@ class CoordinateSpace(collections.abc.Sequence): Lifecycle: experimental """ - axes: Sequence[Axis] = attrs.field(converter=tuple) + axes: Tuple[Axis] = attrs.field(converter=tuple) @axes.validator def _validate(self, _, axes: Tuple[Axis, ...]) -> None: