mirror of
https://github.com/PaiGramTeam/HonkaiStarRailWikiDataParser.git
synced 2025-01-30 10:28:39 +00:00
This commit is contained in:
parent
826395ea52
commit
c9394179c2
@ -1,6 +1,6 @@
|
||||
from typing import List, Optional
|
||||
|
||||
from pydantic import BaseModel
|
||||
from pydantic import BaseModel, ConfigDict
|
||||
|
||||
|
||||
class HeadIcon(BaseModel):
|
||||
@ -24,6 +24,8 @@ class HeadIcon(BaseModel):
|
||||
|
||||
|
||||
class ForHash(BaseModel):
|
||||
model_config = ConfigDict(coerce_numbers_to_str=True, arbitrary_types_allowed=True)
|
||||
|
||||
Hash: str
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user