Skip to content

Commit

Permalink
FIX: use typing.List in type alias
Browse files Browse the repository at this point in the history
  • Loading branch information
redeboer committed May 21, 2024
1 parent c13280d commit ad6c364
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ampform_dpd/io/serialization/format.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import difflib
import sys
from typing import TYPE_CHECKING, Literal, TypedDict, Union
from typing import TYPE_CHECKING, List, Literal, TypedDict, Union
from warnings import warn

from ampform_dpd.decay import FinalStateID
Expand Down Expand Up @@ -39,7 +39,7 @@ class DecayDescription(TypedDict):
appendix: dict


Topology = list[Union[FinalStateID, "Topology"]]
Topology = List[Union[FinalStateID, "Topology"]]
"""Topology definition as a list of final state IDs."""


Expand Down

0 comments on commit ad6c364

Please sign in to comment.