Skip to content

Commit

Permalink
Fix alias of theater_detail field in Event
Browse files Browse the repository at this point in the history
  • Loading branch information
seriaati committed Nov 26, 2024
1 parent be921c1 commit 0b479a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion genshin/models/genshin/chronicle/act_calendar.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ class Event(APIModel):
exploration_detail: typing.Optional[EventExplorationDetail] = Aliased("explore_detail", default=None)
double_reward_detail: typing.Optional[DoubleRewardDetail] = Aliased("double_detail", default=None)
abyss_detail: typing.Optional[AbyssDetail] = Aliased("tower_detail", default=None)
theater_detail: typing.Optional[TheaterDetail] = Aliased("theater_detail", default=None)
theater_detail: typing.Optional[TheaterDetail] = Aliased("role_combat_detail", default=None)

@pydantic.field_validator("description", mode="after")
def __format_description(cls, v: str) -> str:
Expand Down

0 comments on commit 0b479a7

Please sign in to comment.