waldiez 0.4.9__py3-none-any.whl → 0.4.11__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of waldiez might be problematic. Click here for more details.
- waldiez/__init__.py +1 -2
- waldiez/_version.py +1 -1
- waldiez/cli.py +88 -50
- waldiez/exporter.py +64 -9
- waldiez/exporting/core/context.py +12 -0
- waldiez/exporting/core/extras/flow_extras.py +2 -14
- waldiez/exporting/core/types.py +21 -0
- waldiez/exporting/flow/exporter.py +4 -0
- waldiez/exporting/flow/factory.py +16 -0
- waldiez/exporting/flow/orchestrator.py +12 -0
- waldiez/exporting/flow/utils/__init__.py +2 -0
- waldiez/exporting/flow/utils/common.py +96 -2
- waldiez/exporting/flow/utils/logging.py +5 -6
- waldiez/io/mqtt.py +7 -3
- waldiez/io/structured.py +5 -1
- waldiez/models/common/method_utils.py +1 -1
- waldiez/models/tool/tool.py +2 -1
- waldiez/runner.py +402 -321
- waldiez/running/__init__.py +6 -34
- waldiez/running/base_runner.py +907 -0
- waldiez/running/environment.py +74 -0
- waldiez/running/import_runner.py +424 -0
- waldiez/running/patch_io_stream.py +208 -0
- waldiez/running/post_run.py +26 -24
- waldiez/running/pre_run.py +2 -46
- waldiez/running/protocol.py +281 -0
- waldiez/running/run_results.py +22 -0
- waldiez/running/subprocess_runner.py +100 -0
- waldiez/utils/__init__.py +0 -2
- waldiez/utils/version.py +4 -2
- {waldiez-0.4.9.dist-info → waldiez-0.4.11.dist-info}/METADATA +11 -11
- {waldiez-0.4.9.dist-info → waldiez-0.4.11.dist-info}/RECORD +37 -32
- waldiez/utils/flaml_warnings.py +0 -17
- /waldiez/running/{util.py → utils.py} +0 -0
- {waldiez-0.4.9.dist-info → waldiez-0.4.11.dist-info}/WHEEL +0 -0
- {waldiez-0.4.9.dist-info → waldiez-0.4.11.dist-info}/entry_points.txt +0 -0
- {waldiez-0.4.9.dist-info → waldiez-0.4.11.dist-info}/licenses/LICENSE +0 -0
- {waldiez-0.4.9.dist-info → waldiez-0.4.11.dist-info}/licenses/NOTICE.md +0 -0
waldiez/running/__init__.py
CHANGED
|
@@ -2,40 +2,12 @@
|
|
|
2
2
|
# Copyright (c) 2024 - 2025 Waldiez and contributors.
|
|
3
3
|
"""Running related functions."""
|
|
4
4
|
|
|
5
|
-
from .
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
refresh_environment,
|
|
9
|
-
reset_env_vars,
|
|
10
|
-
set_env_vars,
|
|
11
|
-
)
|
|
12
|
-
from .post_run import after_run
|
|
13
|
-
from .pre_run import (
|
|
14
|
-
a_install_requirements,
|
|
15
|
-
before_run,
|
|
16
|
-
install_requirements,
|
|
17
|
-
)
|
|
18
|
-
from .util import (
|
|
19
|
-
a_chdir,
|
|
20
|
-
chdir,
|
|
21
|
-
create_async_subprocess,
|
|
22
|
-
create_sync_subprocess,
|
|
23
|
-
strip_ansi,
|
|
24
|
-
)
|
|
5
|
+
from .base_runner import WaldiezBaseRunner
|
|
6
|
+
from .import_runner import WaldiezImportRunner
|
|
7
|
+
from .subprocess_runner import WaldiezSubprocessRunner
|
|
25
8
|
|
|
26
9
|
__all__ = [
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"before_run",
|
|
31
|
-
"create_async_subprocess",
|
|
32
|
-
"create_sync_subprocess",
|
|
33
|
-
"strip_ansi",
|
|
34
|
-
"chdir",
|
|
35
|
-
"in_virtualenv",
|
|
36
|
-
"is_root",
|
|
37
|
-
"install_requirements",
|
|
38
|
-
"refresh_environment",
|
|
39
|
-
"reset_env_vars",
|
|
40
|
-
"set_env_vars",
|
|
10
|
+
"WaldiezBaseRunner",
|
|
11
|
+
"WaldiezImportRunner",
|
|
12
|
+
"WaldiezSubprocessRunner",
|
|
41
13
|
]
|