Skip to content

Commit

Permalink
Remove use of typing.Literal for Python < 3.8 support
Browse files Browse the repository at this point in the history
  • Loading branch information
cartermak committed May 29, 2024
1 parent 411f217 commit 711b43e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/aerie_cli/schemas/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
from typing import Optional
from typing import List
from typing import Union
from typing import Literal

from attrs import define, field
from attrs import converters
Expand Down Expand Up @@ -210,4 +209,4 @@ class ApiParcelCreate(ApiSerialize):
@define
class ApiParcelRead(ApiParcelCreate):
id: int
parameter_dictionaries: Dict[Literal["parameter_dictionary_id"], int]
parameter_dictionaries: Dict[str, int]

0 comments on commit 711b43e

Please sign in to comment.