From 0b479a78fed59f62d362aab9075b8f146de201e1 Mon Sep 17 00:00:00 2001 From: seria Date: Tue, 26 Nov 2024 18:00:15 +0800 Subject: [PATCH] Fix alias of theater_detail field in Event --- genshin/models/genshin/chronicle/act_calendar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/genshin/models/genshin/chronicle/act_calendar.py b/genshin/models/genshin/chronicle/act_calendar.py index bb820ca6..0b55e7a9 100644 --- a/genshin/models/genshin/chronicle/act_calendar.py +++ b/genshin/models/genshin/chronicle/act_calendar.py @@ -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: