Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog/1119.added.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Added a `shortest_paths_only` parameter to `InfrahubClient.traverse_paths()` and its sync equivalent (default `None`, deferring to the server). Set it to `False` to return all loopless paths up to `max_paths` instead of only the shortest one(s); previously path traversal always returned the shortest path(s) because the flag could not be set. `PathTraversalResult` now also parses `truncated_at_depth`, which is set when the search stopped at `max_depth` before exhausting the graph and `None` when it completed within budget.