From f7ad41491f5b7ea617265ec574c9d1b035c80d3d Mon Sep 17 00:00:00 2001 From: seria Date: Tue, 12 Nov 2024 16:23:18 +0800 Subject: [PATCH] Fix HollowZero validation errors --- genshin/models/zzz/chronicle/notes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/genshin/models/zzz/chronicle/notes.py b/genshin/models/zzz/chronicle/notes.py index 174d8611..4eca77bb 100644 --- a/genshin/models/zzz/chronicle/notes.py +++ b/genshin/models/zzz/chronicle/notes.py @@ -66,8 +66,8 @@ class SurveyPoints(APIModel): class HollowZero(APIModel): """Hollow Zero in ZZZ sticky notes model.""" - bounty_commission: BountyCommission - investigation_point: SurveyPoints = Aliased("survey_points") + bounty_commission: typing.Optional[BountyCommission] = None + investigation_point: typing.Optional[SurveyPoints] = Aliased("survey_points", default=None) class ZZZNotes(APIModel):