change discvoery mask
This commit is contained in:
parent
94f03f946b
commit
cd00de6d01
1 changed files with 1 additions and 1 deletions
|
|
@ -128,7 +128,7 @@ class Coordinator:
|
||||||
# make it possible to import modules from recipes_dir
|
# make it possible to import modules from recipes_dir
|
||||||
sys.path.append(recipes_dir.as_posix())
|
sys.path.append(recipes_dir.as_posix())
|
||||||
|
|
||||||
for module_path in recipes_dir.rglob("*/runner*.py"):
|
for module_path in recipes_dir.rglob("*/runner_*.py"):
|
||||||
rel_path = module_path.relative_to(recipes_dir).as_posix().replace("/", ".").replace(".py", "")
|
rel_path = module_path.relative_to(recipes_dir).as_posix().replace("/", ".").replace(".py", "")
|
||||||
module = importlib.import_module(rel_path)
|
module = importlib.import_module(rel_path)
|
||||||
runner_class_names = [name for name in dir(module) if runner_discovery_pattern.match(name)]
|
runner_class_names = [name for name in dir(module) if runner_discovery_pattern.match(name)]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue