feat(classgen): add 'instances' as top level key
This commit is contained in:
@@ -59,7 +59,7 @@ known_classes = set()
|
|||||||
root_class = "Inventory"
|
root_class = "Inventory"
|
||||||
# TODO: make this configurable
|
# TODO: make this configurable
|
||||||
# For now this only includes static top-level attributes of the inventory.
|
# For now this only includes static top-level attributes of the inventory.
|
||||||
attrs = ["machines", "meta", "services"]
|
attrs = ["machines", "meta", "services", "instances"]
|
||||||
|
|
||||||
static: dict[str, str] = {"Service": "dict[str, Any]"}
|
static: dict[str, str] = {"Service": "dict[str, Any]"}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user