From 240774fd38aeb44e6238be831c5c26b338fbaae2 Mon Sep 17 00:00:00 2001 From: xtaodada Date: Mon, 5 Feb 2024 13:00:41 +0800 Subject: [PATCH] :bug: Fix starrail challenge story fast complete --- simnet/models/starrail/chronicle/challenge_story.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/simnet/models/starrail/chronicle/challenge_story.py b/simnet/models/starrail/chronicle/challenge_story.py index 3bea321..7fc852c 100644 --- a/simnet/models/starrail/chronicle/challenge_story.py +++ b/simnet/models/starrail/chronicle/challenge_story.py @@ -1,5 +1,5 @@ """Starrail chronicle challenge story.""" -from typing import List +from typing import List, Optional from pydantic import Field @@ -40,10 +40,7 @@ class StarRailChallengeStoryFloorNode(APIModel): challenge_time: PartialTime avatars: List[RogueCharacter] - - challenge_time: PartialTime - avatars: List[RogueCharacter] - buff: StarRailChallengeStoryBuff + buff: Optional[StarRailChallengeStoryBuff] = None score: int