Skip to content

Commit

Permalink
no TypeAlias
Browse files Browse the repository at this point in the history
  • Loading branch information
JoschD committed Sep 18, 2024
1 parent 42bcd52 commit 8c644a6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions omc3/optics_measurements/rdt.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
from optics_functions.rdt import get_all_to_order, jklm2str
from omc3.optics_measurements.data_models import InputFiles, check_and_warn_about_offmomentum_data, filter_for_dpp

from typing import TYPE_CHECKING, TypeAlias
from typing import TYPE_CHECKING

if TYPE_CHECKING:
from generic_parser import DotDict
Expand All @@ -33,8 +33,8 @@
NBPMS_FOR_90 = 3
LOGGER = logging_tools.get_logger(__name__)

RDTTuple: TypeAlias = tuple[int, int, int, int]
LineTuple: TypeAlias = tuple[int, int, int]
RDTTuple = tuple[int, int, int, int]
LineTuple = tuple[int, int, int]


def _generate_plane_rdts(order: int) -> tuple[dict[str, list[RDTTuple]], dict[str, list[RDTTuple]]]:
Expand Down

0 comments on commit 8c644a6

Please sign in to comment.