Skip to content

Commit

Permalink
Fixed lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
KT-Yeh committed Sep 29, 2023
1 parent 8f0cec5 commit a4e4fe5
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions genshin/models/genshin/chronicle/notes.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,14 @@ def seconds(self) -> int:


class TaskReward(APIModel):
"""Status of the Commission/Task
"""Status of the Commission/Task.
status:
TaskRewardStatusTakenAward
TaskRewardStatusUnfinished
"""
status:str

status: str


class AttendanceReward(APIModel):
Expand All @@ -96,12 +97,14 @@ class AttendanceReward(APIModel):
2000 == 100%
1000 == 50%
"""
status:str
progress:int

status: str
progress: int


class DailyTasks(APIModel):
"""Daily tasks section."""

max_tasks: int = Aliased("total_num")
completed_tasks: int = Aliased("finished_num")
claimed_commission_reward: bool = Aliased("is_extra_task_reward_received")
Expand Down Expand Up @@ -169,4 +172,4 @@ def __flatten_transformer(cls, values: typing.Dict[str, typing.Any]) -> typing.D

return values

daily_task:DailyTasks
daily_task: DailyTasks

0 comments on commit a4e4fe5

Please sign in to comment.