This commit is contained in:
2025-12-18 21:13:49 +03:00
parent 84b934036b
commit 030af7ca83
45 changed files with 3106 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
from datetime import datetime
from typing import Any
from pydantic import BaseModel
class EventResponse(BaseModel):
id: int
vehicle_id: int
timestamp: datetime
type: str
payload: dict[str, Any]
class Config:
from_attributes = True