Tidy up imports + start on loading modules - program now starts much faster

This commit is contained in:
Patrick Robertson
2025-01-22 18:45:58 +01:00
parent b6b085854c
commit ade5ea0f6f
12 changed files with 97 additions and 83 deletions

View File

@@ -61,9 +61,6 @@ class LoadFromFile (argparse.Action):
def to_dot_notation(yaml_conf: str) -> argparse.ArgumentParser:
dotdict = {}
for step, vals in yaml_conf.pop('steps', {}).items():
if vals:
dotdict[f"{step}s"] = vals
def process_subdict(subdict, prefix=""):
for key, value in subdict.items():