Skip to content

Commit

Permalink
Typing Dict instead of dict
Browse files Browse the repository at this point in the history
  • Loading branch information
pawelwilczewski committed Aug 8, 2023
1 parent 9310bdc commit b8767c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_collection_of_unions.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class Player:
@dataclass(frozen=True)
class Team:
roster: List[Union[int, Player]]
roster_backup: dict[int, Union[int, Player]]
roster_backup: Dict[int, Union[int, Player]]


class TestCollectionOfUnions:
Expand Down

0 comments on commit b8767c8

Please sign in to comment.