fix(typing): fix typing of make_cameras_from_config
This commit is contained in:
parent
f39652707c
commit
3d6c486570
|
@ -31,7 +31,7 @@ class Camera(Protocol):
|
||||||
def disconnect(self): ...
|
def disconnect(self): ...
|
||||||
|
|
||||||
|
|
||||||
def make_cameras_from_configs(camera_configs: dict[str, CameraConfig]) -> list[Camera]:
|
def make_cameras_from_configs(camera_configs: dict[str, CameraConfig]) -> dict[str, Camera]:
|
||||||
cameras = {}
|
cameras = {}
|
||||||
|
|
||||||
for key, cfg in camera_configs.items():
|
for key, cfg in camera_configs.items():
|
||||||
|
|
Loading…
Reference in New Issue