Skip to content

Commit

Permalink
Fixed issue with generic TypedDict
Browse files Browse the repository at this point in the history
  • Loading branch information
plonerma committed Nov 11, 2024
1 parent f68ea91 commit 59a4b9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cordage/experiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@
ConfigClass = TypeVar("ConfigClass", bound="DataclassInstance")


class SeriesConfiguration(Generic[ConfigClass], TypedDict):
base_config: ConfigClass
class SeriesConfiguration(TypedDict):
base_config: "DataclassInstance"
series_spec: Union[List[Dict], Dict[str, List], None]
series_skip: Optional[int]

Expand Down

0 comments on commit 59a4b9e

Please sign in to comment.