MAESTRO: align tests API response with selector

This commit is contained in:
Mariusz Banach committed 2026-02-18 01:18:58 +01:00
1 parent 80e4b3f4d5
commit 130965636d
4 files changed
+22 -8

No files matched your search

+9
View File
@@ -1,7 +1,16 @@
from __future__ import annotations
from pydantic import BaseModel, ConfigDict, Field
from app.engine.models import Test
class TestResponse(Test):
pass
class TestListResponse(BaseModel):
model_config = ConfigDict(populate_by_name=True)
tests: list[TestResponse]
total_count: int = Field(alias="totalCount")