NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
API response cleanup (#15389)
Nicolas Mowend0cc8cb64b1c
diff --git a/frigate/api/defs/response/event_response.py b/frigate/api/defs/response/event_response.pyindex 75cf670dc4..17b9b166f2 100644--- a/frigate/api/defs/response/event_response.py+++ b/frigate/api/defs/response/event_response.py@@ -1,6 +1,6 @@from typing import Any, Optional-from pydantic import BaseModel+from pydantic import BaseModel, ConfigDictclass EventResponse(BaseModel):@@ -10,7 +10,7 @@ class EventResponse(BaseModel):camera: strstart_time: floatend_time: Optional[float]- false_positive: bool+ false_positive: Optional[bool]zones: list[str]thumbnail: strhas_clip: bool@@ -22,6 +22,8 @@ class EventResponse(BaseModel):model_type: Optional[str]data: dict[str, Any]+ model_config = ConfigDict(protected_namespaces=())+class EventCreateResponse(BaseModel):success: bool