Fix some mypy issues

This commit is contained in:
Nick Mowen 2022-04-17 18:40:43 -06:00
parent cafe0917c7
commit c889771227
2 changed files with 1 additions and 2 deletions

View File

@ -5,7 +5,6 @@ from peewee import (
DateTimeField,
FloatField,
BooleanField,
JSONField,
TextField,
IntegerField,
)

View File

@ -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):