add api for descriptor to root domain, tidying things up

This commit is contained in:
2026-03-19 13:35:14 -07:00
parent cf269b83af
commit 7c29cbdab5
7 changed files with 97 additions and 39 deletions

View File

@ -272,6 +272,7 @@ class System:
print(f"System initializing, name {self.name}")
# system contains an array of component objects
self.components = []
self.component_class_tree = component_class_tree
# initialize system properties and metrics dicts
self._properties: Dict[str, str] = {}
self._metrics: Dict[str, str] = {}
@ -385,6 +386,9 @@ class System:
def check_system_timer(self):
time_lapsed = time.time() - float(self.recent_check)
return time_lapsed < 30.0
def get_component_class_tree(self):
return self.component_class_tree
########################################################
# static metrics redis data functions