rename src to abratest
This commit is contained in:
parent
d2f50fb791
commit
01c294d44b
26 changed files with 43 additions and 43 deletions
|
|
@ -1,28 +0,0 @@
|
|||
# should replace static RUNNER_DICT
|
||||
# WIP
|
||||
|
||||
import importlib
|
||||
from pathlib import Path
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
from icecream import ic
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from src.env_manager import EnvFile, EnvManager
|
||||
|
||||
|
||||
class RunnerManager:
|
||||
def __init__(self, env_files: list["EnvFile"]):
|
||||
pass
|
||||
|
||||
root = Path("src")
|
||||
ic(root.resolve())
|
||||
for module_path in root.rglob("*/runner*.py"):
|
||||
module_path = module_path.as_posix().replace("/", ".").replace(".py", "")
|
||||
ic(module_path)
|
||||
module = importlib.import_module(module_path)
|
||||
ic(dir(module))
|
||||
# exit()
|
||||
|
||||
|
||||
# ic(RUNNER_DICT)
|
||||
Loading…
Add table
Add a link
Reference in a new issue