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

This commit is contained in:
Johannes Kirschbauer
2025-05-20 15:51:33 +02:00
parent d842a13789
commit bd92170bed

View File

@@ -59,7 +59,7 @@ known_classes = set()
root_class = "Inventory"
# TODO: make this configurable
# 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]"}