Skip to content

Commit

Permalink
Revert "MAINT: remove typing.Dict"
Browse files Browse the repository at this point in the history
This reverts commit bc87fec.
  • Loading branch information
redeboer committed Apr 25, 2024
1 parent bc87fec commit 3930f53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ampform_dpd/decay.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from __future__ import annotations

from functools import lru_cache
from typing import TYPE_CHECKING, Literal, TypeVar
from typing import TYPE_CHECKING, Dict, Literal, TypeVar

from attrs import field, frozen
from attrs.validators import instance_of
Expand Down Expand Up @@ -108,7 +108,7 @@ def get_decay_product_ids(
raise ValueError(msg)


OuterStates = dict[Literal[0, 1, 2, 3], Particle]
OuterStates = Dict[Literal[0, 1, 2, 3], Particle]
"""Mapping of the initial and final state IDs to their `.Particle` definition."""


Expand Down

0 comments on commit 3930f53

Please sign in to comment.