mirror of
https://github.com/dptech-corp/Uni-Lab-OS.git
synced 2025-12-17 13:01:12 +00:00
fix type hint
This commit is contained in:
@@ -44,7 +44,7 @@ def exit() -> None:
|
||||
|
||||
def main(
|
||||
devices_config: Dict[str, Any] = {},
|
||||
resources_config={},
|
||||
resources_config: list=[],
|
||||
graph: Optional[Dict[str, Any]] = None,
|
||||
controllers_config: Dict[str, Any] = {},
|
||||
bridges: List[Any] = [],
|
||||
@@ -68,7 +68,7 @@ def main(
|
||||
discovery_interval,
|
||||
)
|
||||
|
||||
if visual != "None":
|
||||
if visual != "disable":
|
||||
resource_mesh_manager = ResourceMeshManager(
|
||||
resources_mesh_config,
|
||||
resources_config,
|
||||
|
||||
Reference in New Issue
Block a user