refactor: Update logs field type in ResultDataResponse schema
Update the logs field type in the ResultDataResponse schema of schemas.py to use a single Log object instead of a list of Log objects. This change aligns the schema with the actual data structure and improves consistency throughout the codebase.
This commit is contained in:
parent
0f31e5517e
commit
9716a29911
1 changed files with 1 additions and 1 deletions
|
|
@ -245,7 +245,7 @@ class VerticesOrderResponse(BaseModel):
|
||||||
|
|
||||||
class ResultDataResponse(BaseModel):
|
class ResultDataResponse(BaseModel):
|
||||||
results: Optional[Any] = Field(default_factory=dict)
|
results: Optional[Any] = Field(default_factory=dict)
|
||||||
logs: dict[str, list[Log]] = Field(default_factory=dict)
|
logs: dict[str, Log] = Field(default_factory=dict)
|
||||||
message: Optional[Any] = Field(default_factory=dict)
|
message: Optional[Any] = Field(default_factory=dict)
|
||||||
artifacts: Optional[Any] = Field(default_factory=dict)
|
artifacts: Optional[Any] = Field(default_factory=dict)
|
||||||
timedelta: Optional[float] = None
|
timedelta: Optional[float] = None
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue