python-bonobo/bonobo

Context Variables

hartym opened this issue · 1 comments

To communicate efficiently with the "outside-the-graph" world, we somehow need to be able to pass data to contexts (node or graph execution contexts). This can seem trivial, but it should be threadsafe, at least for the graph execution context, because more than one node may access it concurrently.

This probably means that we need a kind of an "operation queue" in the execution contexts that will apply state mutation operations in order, and one at a time.

This will allow to have graph "return values", and it may be seen as a generalization of how we manage errors (although, maybe not).

do-not-edit-start-codetree-epic-issues

Issues in this epic:

Title Milestone Assignees Stage State
Set variables in graph execution context #248 0.9 N/A Open
do-not-edit-end-codetree-epic-issues