Skip to content

Commit

Permalink
Make HSR Pure Fiction floor buff optional (#158)
Browse files Browse the repository at this point in the history
  • Loading branch information
Polygonalr authored Feb 6, 2024
1 parent 202dc9e commit a424187
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions genshin/models/starrail/chronicle/challenge.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Starrail chronicle challenge."""

from typing import TYPE_CHECKING, Any, Dict, List
from typing import TYPE_CHECKING, Any, Dict, List, Optional

if TYPE_CHECKING:
import pydantic.v1 as pydantic
Expand Down Expand Up @@ -71,7 +71,7 @@ class FictionBuff(APIModel):
class FictionFloorNode(FloorNode):
"""Node for a Pure Fiction floor."""

buff: FictionBuff
buff: Optional[FictionBuff]
score: int


Expand Down

0 comments on commit a424187

Please sign in to comment.