From 026a088515795c450fdf7160c4ef512520f42539 Mon Sep 17 00:00:00 2001 From: Johannes Kirschbauer Date: Tue, 20 May 2025 15:51:33 +0200 Subject: [PATCH] feat(classgen): add 'instances' as top level key --- pkgs/classgen/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/classgen/main.py b/pkgs/classgen/main.py index 0a2e71776..cb94fe7e1 100644 --- a/pkgs/classgen/main.py +++ b/pkgs/classgen/main.py @@ -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]"}