diff options
| author | Pavel Zhukov <33721692+LeaveMyYard@users.noreply.github.com> | 2023-04-27 18:32:23 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-27 18:32:23 +0300 |
| commit | fa4cd5b953544dcd953ed0a6133bd594293ce415 (patch) | |
| tree | 3cec6ef2a8ffa121f31333ad7f5ef8246cd27c87 /robusta_krr | |
| parent | 26b867a3fa859a112e8eb0a6c1e18930355fe03d (diff) | |
| parent | 2223f12c47b5aef6fc416eff62f8be758024d6e7 (diff) | |
Merge branch 'main' into main
Diffstat (limited to 'robusta_krr')
| -rw-r--r-- | robusta_krr/main.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/robusta_krr/main.py b/robusta_krr/main.py index 0412974..fdd654d 100644 --- a/robusta_krr/main.py +++ b/robusta_krr/main.py @@ -36,7 +36,7 @@ def __process_type(_T: type) -> str: return "str" # It the type is unknown, just use str and let pydantic handle it -def run() -> None: +def load_commands() -> None: for strategy_name, strategy_type in BaseStrategy.get_all().items(): # type: ignore FUNC_TEMPLATE = textwrap.dedent( """ @@ -133,6 +133,9 @@ def run() -> None: locals(), ) + +def run() -> None: + load_commands() app() |
