commandnet 0.6.1__tar.gz → 0.6.2__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.
- {commandnet-0.6.1 → commandnet-0.6.2}/PKG-INFO +1 -1
- {commandnet-0.6.1 → commandnet-0.6.2}/commandnet/engine/runtime.py +3 -2
- {commandnet-0.6.1 → commandnet-0.6.2}/pyproject.toml +1 -1
- {commandnet-0.6.1 → commandnet-0.6.2}/README.md +0 -0
- {commandnet-0.6.1 → commandnet-0.6.2}/commandnet/__init__.py +0 -0
- {commandnet-0.6.1 → commandnet-0.6.2}/commandnet/core/graph.py +0 -0
- {commandnet-0.6.1 → commandnet-0.6.2}/commandnet/core/models.py +0 -0
- {commandnet-0.6.1 → commandnet-0.6.2}/commandnet/core/node.py +0 -0
- {commandnet-0.6.1 → commandnet-0.6.2}/commandnet/interfaces/event_bus.py +0 -0
- {commandnet-0.6.1 → commandnet-0.6.2}/commandnet/interfaces/observer.py +0 -0
- {commandnet-0.6.1 → commandnet-0.6.2}/commandnet/interfaces/persistence.py +0 -0
|
@@ -115,7 +115,8 @@ class Engine:
|
|
|
115
115
|
result = Interrupt(subject_id=subject_id, hard=True)
|
|
116
116
|
|
|
117
117
|
duration = (asyncio.get_event_loop().time() - start_t) * 1000
|
|
118
|
-
|
|
118
|
+
|
|
119
|
+
await self._apply_target(subject_id, ctx, result, duration, payload=payload)
|
|
119
120
|
|
|
120
121
|
except Exception as e:
|
|
121
122
|
await self.observer.on_error(subject_id, event.node_name, e)
|
|
@@ -379,7 +380,7 @@ class Engine:
|
|
|
379
380
|
)
|
|
380
381
|
|
|
381
382
|
result = await node_inst.on_signal(ctx, signal_id, payload)
|
|
382
|
-
await self._apply_target(subject_id, ctx, result)
|
|
383
|
+
await self._apply_target(subject_id, ctx, result, payload=payload)
|
|
383
384
|
finally:
|
|
384
385
|
await self.db.unlock_subject(subject_id)
|
|
385
386
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "commandnet"
|
|
3
|
-
version = "0.6.
|
|
3
|
+
version = "0.6.2"
|
|
4
4
|
description = "A lightweight, Pydantic-powered, distributed event-driven state machine and typed node graph runtime."
|
|
5
5
|
authors = [
|
|
6
6
|
{ name = "Christopher Vaz", email = "christophervaz160@gmail.com" }
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|