Skip to content

Commit

Permalink
handle both writing
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinBelthle committed Oct 8, 2024
1 parent a5b7db3 commit e5e2099
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions antareslauncher/study_dto.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,5 @@ def from_dict(cls, doc: t.Mapping[str, t.Any]) -> "StudyDTO":
"""
attrs = dict(**doc)
attrs.pop("name", None) # calculated
attrs["antares_version"] = StudyVersion.parse(attrs["antares_version"])
return cls(**attrs)

0 comments on commit e5e2099

Please sign in to comment.