Loading src/device/service/Tools.py +1 −0 Original line number Diff line number Diff line Loading @@ -298,6 +298,7 @@ def populate_endpoints( # devices via their controller_id) come before the devices that depend on them. graph : Dict[str, Set[str]] = dict() for dev_uuid, sub_device in new_sub_devices.items(): if dev_uuid == device_uuid: continue # current device has no dependencies predecesors = graph.setdefault(dev_uuid, set()) ctrl_uuid = get_device_controller_uuid(sub_device) if ctrl_uuid is None: continue # sub_device has no controller Loading Loading
src/device/service/Tools.py +1 −0 Original line number Diff line number Diff line Loading @@ -298,6 +298,7 @@ def populate_endpoints( # devices via their controller_id) come before the devices that depend on them. graph : Dict[str, Set[str]] = dict() for dev_uuid, sub_device in new_sub_devices.items(): if dev_uuid == device_uuid: continue # current device has no dependencies predecesors = graph.setdefault(dev_uuid, set()) ctrl_uuid = get_device_controller_uuid(sub_device) if ctrl_uuid is None: continue # sub_device has no controller Loading