We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As far as I can tell, the guide present in the Orphan Nodes / Chains is incorrect, or at least, not compliant with the current lib version.
Consider the following base:
def gen(): yield 'asda' yield 'another1' def upper(x): return x.upper() def show(x): print(x)
Chaining directly:
graph = bonobo.Graph() graph.add_chain(gen, upper, show) bonobo.run(graph)
works just fine, prints the upper cased data as expected. However, applying the tutorial directly:
graph = bonobo.Graph() graph.add_node(gen) graph.add_node(upper) graph.add_node(show) graph.add_chain(_input = gen, _output = upper) graph.add_chain(_input= upper, _output= show) bonobo.run(graph)
And no output is given. The nodes seem to run independently, not being connected in any way - unfortunately I cannot test it with GraphViz.
The text was updated successfully, but these errors were encountered:
Hello.
Would you be so kind to propose a documentation patch about this?
Thanks.
Sorry, something went wrong.
No branches or pull requests
As far as I can tell, the guide present in the Orphan Nodes / Chains is incorrect, or at least, not compliant with the current lib version.
Consider the following base:
Chaining directly:
works just fine, prints the upper cased data as expected. However, applying the tutorial directly:
And no output is given. The nodes seem to run independently, not being connected in any way - unfortunately I cannot test it with GraphViz.
The text was updated successfully, but these errors were encountered: