- refactor IOS.API resource calculation to re-use shared utilities

- run black
This commit is contained in:
Sigma Dimensions
2023-04-30 15:35:17 +01:00
parent 4a8f5af7ba
commit 107873cf6e
3 changed files with 14 additions and 56 deletions
@@ -51,7 +51,10 @@ class Usecase:
physical_quantity=time, attributes={"TimeValue": 8.0})
"""
self.file = file
self.settings = {"physical_quantity": physical_quantity, "attributes": attributes or {}}
self.settings = {
"physical_quantity": physical_quantity,
"attributes": attributes or {},
}
def execute(self):
for name, value in self.settings["attributes"].items():