add more args to condition function, add ConditionArgs, homogenize attribute names

This commit is contained in:
Daniel 2023-12-08 12:29:02 +01:00
parent 65aed3e31f
commit 8c500da277
5 changed files with 39 additions and 24 deletions

View file

@ -52,7 +52,7 @@ class Coordinator:
"""Creates an instance of the correct Runner class for each given env file"""
runners: list[Runner] = []
for index, env_file in enumerate(env_files):
RunnerClass = self.RUNNER_DICT[env_file.config["TYPE"]]
RunnerClass = self.RUNNER_DICT[env_file.env_config["TYPE"]]
runners.append(RunnerClass(coordinator=self, runner_index=index))
return runners