feature-info: migrate to pydantic, fix live
This commit is contained in:
parent
71cb491617
commit
e3ed311390
5 changed files with 203 additions and 172 deletions
|
@ -28,7 +28,7 @@ class DataProvider(BaseModel):
|
|||
|
||||
class InfoItem(BaseModel):
|
||||
key: str
|
||||
value: str
|
||||
value: str | float | int
|
||||
|
||||
|
||||
class InfoCategory(BaseModel):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue