bitflicker64 commented on code in PR #558: URL: https://github.com/apache/hugegraph-doc/pull/558#discussion_r4441659886
########## content/en/docs/quickstart/client/hugegraph-client-python.md: ########## @@ -243,15 +242,15 @@ traverser.same_neighbors(marko_id, josh_id) traverser.jaccard_similarity(marko_id, josh_id) traverser.shortest_path(marko_id, ripple_id, 3) traverser.all_shortest_paths(marko_id, ripple_id, 3) -traverser.weighted_shortest_path(marko_id, ripple_id, "weight", 3) -traverser.single_source_shortest_path(marko_id, 2) +traverser.weighted_shortest_path(marko_id, ripple_id, "weight", capacity=10000) Review Comment: Important: `hugegraph-ai` main and released `hugegraph-python` 1.7.x still require positional `max_depth` here and lack `client.olap()`, `client.task().wait()` and `client.close()`, so this block and the OLTP/OLAP section (EN and CN) raise `TypeError` or `AttributeError`; the snake_case schema and graph calls above do run there through generated aliases. Merge this after `apache/hugegraph-ai#392`, and mark these calls as needing a source install until a release includes them. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
