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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: commandnet
3
- Version: 0.6.1
3
+ Version: 0.6.2
4
4
  Summary: A lightweight, Pydantic-powered, distributed event-driven state machine and typed node graph runtime.
5
5
  Author: Christopher Vaz
6
6
  Author-email: christophervaz160@gmail.com
@@ -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
- await self._apply_target(subject_id, ctx, result, duration)
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.1"
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