This commit is contained in:
2025-12-14 10:40:54 +01:00
parent 5d483b0df5
commit 8428bf9c82
55 changed files with 9763 additions and 391 deletions

View File

@@ -6,6 +6,7 @@ from pydantic import BaseModel
from typing import Optional, List
from app.schemas.benchmark import BenchmarkSummary
from app.schemas.hardware import HardwareSnapshotResponse
from app.schemas.document import DocumentResponse
class DeviceBase(BaseModel):
@@ -53,6 +54,7 @@ class DeviceDetail(DeviceBase):
updated_at: str
last_benchmark: Optional[BenchmarkSummary] = None
last_hardware_snapshot: Optional[HardwareSnapshotResponse] = None
documents: List[DocumentResponse] = []
class Config:
from_attributes = True