mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-27 09:07:41 +03:00
Don't specify callable type
This commit is contained in:
parent
e3f2f748ac
commit
265da56925
@ -272,7 +272,7 @@ class CameraState:
|
||||
def finished(self, obj_id):
|
||||
del self.tracked_objects[obj_id]
|
||||
|
||||
def on(self, event_type: str, callback: Callable[[str, TrackedObject, str], None]):
|
||||
def on(self, event_type: str, callback: Callable):
|
||||
self.callbacks[event_type].append(callback)
|
||||
|
||||
def update(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user