Skip to content

Commit

Permalink
Mark start_time and end_time in Event model as optional
Browse files Browse the repository at this point in the history
  • Loading branch information
seriaati committed Nov 27, 2024
1 parent a2a6c13 commit cf5d289
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions genshin/models/genshin/chronicle/act_calendar.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,8 @@ class Event(APIModel):

start_timestamp: int
end_timestamp: int
start_time: DateTime
end_time: DateTime
start_time: typing.Optional[DateTime] = None
end_time: typing.Optional[DateTime] = None

status: int
countdown_seconds: int
Expand Down

0 comments on commit cf5d289

Please sign in to comment.