Skip to content

Commit

Permalink
Fix 3.8 type error
Browse files Browse the repository at this point in the history
  • Loading branch information
jp-dark committed Sep 18, 2024
1 parent b896712 commit ff235d0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion python-spec/src/somacore/coordinates.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ class Axis:


@attrs.define(frozen=True)
class CoordinateSpace(collections.abc.Sequence[Axis]):
class CoordinateSpace(
collections.abc.Sequence
): # Change to Sequence[Axis] after 3.8 is dropped.
"""A coordinate space for spatial data.
Args:
Expand Down

0 comments on commit ff235d0

Please sign in to comment.