Skip to content

Commit

Permalink
fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
mrsmrynk committed Dec 22, 2024
1 parent b51416d commit 583fb90
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions aviary/_utils/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
from pathlib import Path # noqa: TC003
from typing import (
TYPE_CHECKING,
ForwardRef,
TypeAlias,
cast,
overload,
Expand Down Expand Up @@ -39,8 +38,6 @@
from aviary.geodata.coordinates_filter import CoordinatesFilter

BufferSize: TypeAlias = int
Channel = ForwardRef('Channel')
Channels: TypeAlias = list[Channel | str]
Coordinate: TypeAlias = int
Coordinates: TypeAlias = tuple[Coordinate, Coordinate]
CoordinatesSet: TypeAlias = npt.NDArray[np.int32]
Expand Down Expand Up @@ -440,6 +437,9 @@ class Channel(Enum):
R = 'r'


Channels: TypeAlias = list[Channel | str]


class Device(Enum):
"""
Attributes:
Expand Down

0 comments on commit 583fb90

Please sign in to comment.