feat(classgen): add 'instances' as top level key

This commit is contained in:
Johannes Kirschbauer
2025-05-20 15:51:33 +02:00
parent c86f39ba6b
commit 026a088515

View File

@@ -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]"}