Skip to content

Commit

Permalink
Update notes.py
Browse files Browse the repository at this point in the history
  • Loading branch information
kgirtxd committed Sep 30, 2023
1 parent a4e4fe5 commit f1965bf
Showing 1 changed file with 13 additions and 21 deletions.
34 changes: 13 additions & 21 deletions genshin/models/genshin/chronicle/notes.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,31 +74,23 @@ def seconds(self) -> int:


class TaskReward(APIModel):
"""Status of the Commission/Task.
"""Status of the Commission/Task."""

status:
TaskRewardStatusTakenAward
TaskRewardStatusUnfinished
"""

status: str
status: typing.Literal[
"TaskRewardStatusTakenAward",
"TaskRewardStatusUnfinished"
]


class AttendanceReward(APIModel):
"""Status of the Encounter Point.
status:
AttendanceRewardStatusForbid
AttendanceRewardStatusTakenAward
AttendanceRewardStatusWaitTaken
AttendanceRewardStatusUnfinished
progress:
2000 == 100%
1000 == 50%
"""

status: str
"""Status of the Encounter Point."""

status: typing.Literal[
"TaskRewardStatusTakenAward",
"AttendanceRewardStatusTakenAward",
"AttendanceRewardStatusWaitTaken",
"AttendanceRewardStatusUnfinished"
]
progress: int


Expand Down

0 comments on commit f1965bf

Please sign in to comment.