Skip to content

Commit

Permalink
Set begin_time and end_time as non optional for ShiyuDefense
Browse files Browse the repository at this point in the history
  • Loading branch information
seriaati committed Sep 21, 2024
1 parent aa95034 commit 8d299c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions genshin/models/zzz/chronicle/challenge.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ class ShiyuDefense(APIModel):
"""ZZZ Shiyu Defense model."""

schedule_id: int
begin_time: typing.Optional[datetime.datetime] = Aliased("hadal_begin_time")
end_time: typing.Optional[datetime.datetime] = Aliased("hadal_end_time")
begin_time: datetime.datetime = Aliased("hadal_begin_time")
end_time: datetime.datetime = Aliased("hadal_end_time")
has_data: bool
ratings: typing.Mapping[typing.Literal["S", "A", "B"], int] = Aliased("rating_list")
floors: typing.List[ShiyuDefenseFloor] = Aliased("all_floor_detail")
Expand Down

0 comments on commit 8d299c9

Please sign in to comment.