Skip to content

Commit

Permalink
Change type
Browse files Browse the repository at this point in the history
  • Loading branch information
NickM-27 committed Dec 3, 2024
1 parent 6332c19 commit f542f5a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frigate/api/defs/response/event_response.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from typing import Optional
from typing import Any, Optional

from pydantic import BaseModel, Json
from pydantic import BaseModel


class EventResponse(BaseModel):
Expand All @@ -20,7 +20,7 @@ class EventResponse(BaseModel):
model_hash: Optional[str]
detector_type: Optional[str]
model_type: Optional[str]
data: Json
data: dict[str, Any]


class EventCreateResponse(BaseModel):
Expand Down

0 comments on commit f542f5a

Please sign in to comment.