#1947: Add ability for all simcomponents to be scanned - sets up ability for service, files, folders and nodes to be scanned

This commit is contained in:
Czar.Echavez
2023-10-09 16:47:36 +01:00
parent 860b3fb801
commit bbf2b09f96
3 changed files with 18 additions and 38 deletions

View File

@@ -200,6 +200,10 @@ class SimComponent(BaseModel):
}
return state
def scan(self) -> None:
"""Update the visible statuses of the SimComponent."""
pass
def apply_action(self, action: List[str], context: Dict = {}) -> None:
"""
Apply an action to a simulation component. Action data is passed in as a 'namespaced' list of strings.