mirror of
https://git.datalinker.icu/ltdrdata/ComfyUI-Manager
synced 2025-12-09 22:24:23 +08:00
[chore] Regenerate data models after OpenAPI fixes
- Updated generated_models.py to reflect OpenAPI 3.1 nullable format changes - Models now use Optional[type] instead of nullable: true - All affected models regenerated with datamodel-codegen - Syntax and linting checks pass
This commit is contained in:
parent
0148b5a3cc
commit
a96e7b114e
@ -1,6 +1,6 @@
|
||||
# generated by datamodel-codegen:
|
||||
# filename: openapi.yaml
|
||||
# timestamp: 2025-06-13T18:46:51+00:00
|
||||
# timestamp: 2025-06-14T01:44:21+00:00
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
@ -99,7 +99,7 @@ class ManagerPackInstallType(str, Enum):
|
||||
cnr = 'cnr'
|
||||
|
||||
|
||||
class UpdateState(str, Enum):
|
||||
class UpdateState(Enum):
|
||||
false = 'false'
|
||||
true = 'true'
|
||||
|
||||
@ -206,14 +206,16 @@ class QueueStatus(BaseModel):
|
||||
)
|
||||
|
||||
|
||||
class ManagerMapping(BaseModel):
|
||||
class ManagerMappings1(BaseModel):
|
||||
title_aux: Optional[str] = Field(None, description='The display name of the pack')
|
||||
|
||||
|
||||
class ManagerMappings(
|
||||
RootModel[Optional[Dict[str, List[Union[List[str], ManagerMapping]]]]]
|
||||
RootModel[Optional[Dict[str, List[Union[List[str], ManagerMappings1]]]]]
|
||||
):
|
||||
root: Optional[Dict[str, List[Union[List[str], ManagerMapping]]]] = None
|
||||
root: Optional[Dict[str, List[Union[List[str], ManagerMappings1]]]] = Field(
|
||||
None, description='Tuple of [node_names, metadata]'
|
||||
)
|
||||
|
||||
|
||||
class ModelMetadata(BaseModel):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user