mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-17 08:35:21 +03:00
Change type
This commit is contained in:
parent
941c301734
commit
15765d860d
@ -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):
|
||||
@ -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):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user