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
We currently have:
import znflow @znflow.nodify def add(*args): return sum(args) with znflow.DiGraph() as graph: add(1, 2, 3) result = add(4, 5, 6) assert len(graph) == 2
vs
import znflow @znflow.nodify def add(*args): return sum(args) with znflow.DiGraph() as graph: add(1, 2, 3) result = add(4, 5, 6) graph.add(result) assert len(graph) == 1
In other words: Is creating a new Node inside the contextmanager sufficient, to show that this Node is now attached to the graph?
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
SamTov
Ruttor
MrJulEnergy
No branches or pull requests
We currently have:
vs
In other words: Is creating a new Node inside the contextmanager sufficient, to show that this Node is now attached to the graph?
The text was updated successfully, but these errors were encountered: