临时兼容错误的driver写法

This commit is contained in:
Xuwznln
2025-08-12 19:20:53 +08:00
parent e8c1f76dbb
commit e570ba4976
5 changed files with 41 additions and 30 deletions

View File

@@ -51,7 +51,7 @@ class DeviceClassCreator(Generic[T]):
"""
if self.device_instance is not None:
for c in self.children.values():
if c["type"] == "container":
if c["type"] != "device":
self.resource_tracker.add_resource(c)