mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-02 17:25:22 +03:00
Fix some mypy issues
This commit is contained in:
parent
cafe0917c7
commit
c889771227
@ -5,7 +5,6 @@ from peewee import (
|
||||
DateTimeField,
|
||||
FloatField,
|
||||
BooleanField,
|
||||
JSONField,
|
||||
TextField,
|
||||
IntegerField,
|
||||
)
|
||||
|
||||
@ -461,7 +461,7 @@ class CameraState:
|
||||
def finished(self, obj_id):
|
||||
del self.tracked_objects[obj_id]
|
||||
|
||||
def on(self, event_type: str, callback: Callable[[Dict], None]):
|
||||
def on(self, event_type: str, callback: Callable[[dict], None]):
|
||||
self.callbacks[event_type].append(callback)
|
||||
|
||||
def update(self, frame_time, current_detections, motion_boxes, regions):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user