mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-05 02:35:22 +03:00
fix typing
This commit is contained in:
parent
0245937963
commit
ca90946e2e
@ -6,7 +6,6 @@ import threading
|
|||||||
|
|
||||||
from enum import Enum
|
from enum import Enum
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from typing import Any
|
|
||||||
|
|
||||||
from peewee import fn
|
from peewee import fn
|
||||||
|
|
||||||
@ -106,7 +105,10 @@ class EventProcessor(threading.Thread):
|
|||||||
logger.info(f"Exiting event processor...")
|
logger.info(f"Exiting event processor...")
|
||||||
|
|
||||||
def handle_object_detection(
|
def handle_object_detection(
|
||||||
self, event_type: str, camera: str, event_data: dict[str, Any]
|
self,
|
||||||
|
event_type: str,
|
||||||
|
camera: str,
|
||||||
|
event_data: Event,
|
||||||
) -> None:
|
) -> None:
|
||||||
"""handle tracked object event updates."""
|
"""handle tracked object event updates."""
|
||||||
# if this is the first message, just store it and continue, its not time to insert it in the db
|
# if this is the first message, just store it and continue, its not time to insert it in the db
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user