maj
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user