You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I tried to use this library because it seemed like a really useful tool to analyze existing operations graphs, but it seems to be broken by the latest versions of networkx. When trying to call compose, I got the following exception:
def_optionalized(graph, data):
"""Retain optionality of a `data` node based on all `needs` edges.""">all_optionals=all(e[2] foreingraph.out_edges(data, "optional", False))
ETypeError: OutEdgeView.__call__() takesfrom1to3positionalargumentsbut4weregiven
It didn't feel like an issue on my side, so I investigated a bit and found that the signature of some views changed a few months ago in networkx 3.2, with this commit being the most likely culprit: networkx/networkx@edd50e3
Fixing the networkx version to 3.1 solved the issue as expected. Usage of views should probably be adapted in graphtik to accommodate the latest changes in networkx.
The text was updated successfully, but these errors were encountered:
Hi, I tried to use this library because it seemed like a really useful tool to analyze existing operations graphs, but it seems to be broken by the latest versions of networkx. When trying to call
compose
, I got the following exception:It didn't feel like an issue on my side, so I investigated a bit and found that the signature of some views changed a few months ago in networkx 3.2, with this commit being the most likely culprit: networkx/networkx@edd50e3
Fixing the networkx version to 3.1 solved the issue as expected. Usage of views should probably be adapted in graphtik to accommodate the latest changes in networkx.
The text was updated successfully, but these errors were encountered: