oocana-python-executor 0.16.11__tar.gz → 0.16.12__tar.gz
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.
- {oocana_python_executor-0.16.11 → oocana_python_executor-0.16.12}/PKG-INFO +1 -1
- {oocana_python_executor-0.16.11 → oocana_python_executor-0.16.12}/pyproject.toml +1 -1
- {oocana_python_executor-0.16.11 → oocana_python_executor-0.16.12}/python_executor/executor.py +1 -2
- {oocana_python_executor-0.16.11 → oocana_python_executor-0.16.12}/python_executor/__init__.py +0 -0
- {oocana_python_executor-0.16.11 → oocana_python_executor-0.16.12}/python_executor/block.py +0 -0
- {oocana_python_executor-0.16.11 → oocana_python_executor-0.16.12}/python_executor/context.py +0 -0
- {oocana_python_executor-0.16.11 → oocana_python_executor-0.16.12}/python_executor/data.py +0 -0
- {oocana_python_executor-0.16.11 → oocana_python_executor-0.16.12}/python_executor/hook.py +0 -0
- {oocana_python_executor-0.16.11 → oocana_python_executor-0.16.12}/python_executor/logger.py +0 -0
- {oocana_python_executor-0.16.11 → oocana_python_executor-0.16.12}/python_executor/matplot/matplotlib_oomol/__init__.py +0 -0
- {oocana_python_executor-0.16.11 → oocana_python_executor-0.16.12}/python_executor/matplot/matplotlib_oomol/oomol.py +0 -0
- {oocana_python_executor-0.16.11 → oocana_python_executor-0.16.12}/python_executor/matplot/oomol_matplot_helper.py +0 -0
- {oocana_python_executor-0.16.11 → oocana_python_executor-0.16.12}/python_executor/secret.py +0 -0
- {oocana_python_executor-0.16.11 → oocana_python_executor-0.16.12}/python_executor/service.py +0 -0
- {oocana_python_executor-0.16.11 → oocana_python_executor-0.16.12}/python_executor/topic.py +0 -0
- {oocana_python_executor-0.16.11 → oocana_python_executor-0.16.12}/python_executor/utils.py +0 -0
- {oocana_python_executor-0.16.11 → oocana_python_executor-0.16.12}/tests/test_cli.py +0 -0
- {oocana_python_executor-0.16.11 → oocana_python_executor-0.16.12}/tests/test_secret.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: oocana-python-executor
|
|
3
|
-
Version: 0.16.
|
|
3
|
+
Version: 0.16.12
|
|
4
4
|
Summary: a client subscribe mqtt topic to execute oocana's block
|
|
5
5
|
Author-Email: l1shen <lishen1635@gmail.com>, yleaf <11785335+leavesster@users.noreply.github.com>
|
|
6
6
|
License: MIT
|
{oocana_python_executor-0.16.11 → oocana_python_executor-0.16.12}/python_executor/executor.py
RENAMED
|
@@ -143,7 +143,7 @@ async def run_executor(address: str, session_id: str, tmp_dir: str, package: str
|
|
|
143
143
|
|
|
144
144
|
mainframe.subscribe(f"executor/{EXECUTOR_NAME}/run_block", execute_block)
|
|
145
145
|
mainframe.subscribe(f"executor/{EXECUTOR_NAME}/run_service_block", execute_service_block)
|
|
146
|
-
mainframe.
|
|
146
|
+
mainframe.add_report_callback(report_message)
|
|
147
147
|
mainframe.subscribe(exit_report_topic(), service_exit)
|
|
148
148
|
mainframe.subscribe(status_report_topic(), service_status)
|
|
149
149
|
|
|
@@ -179,7 +179,6 @@ async def run_executor(address: str, session_id: str, tmp_dir: str, package: str
|
|
|
179
179
|
service_store[service_hash] = "running"
|
|
180
180
|
run_in_new_thread(run)
|
|
181
181
|
|
|
182
|
-
# FIXME: mqtt 不能在 subscribe 后立即 publish,需要修复。
|
|
183
182
|
mainframe.subscribe(prepare_report_topic(params), lambda _: send_service_config(params, message))
|
|
184
183
|
|
|
185
184
|
await process.wait()
|
{oocana_python_executor-0.16.11 → oocana_python_executor-0.16.12}/python_executor/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{oocana_python_executor-0.16.11 → oocana_python_executor-0.16.12}/python_executor/context.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{oocana_python_executor-0.16.11 → oocana_python_executor-0.16.12}/python_executor/service.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|