Merge stable into develop#1121
Merged
Merged
Conversation
* support for truncated_at_depth and shortest_paths_only * docs formatting update
Deploying infrahub-sdk-python with
|
| Latest commit: |
0828e6d
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://71aa1663.infrahub-sdk-python.pages.dev |
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## develop #1121 +/- ##
========================================
Coverage 82.16% 82.16%
========================================
Files 138 138
Lines 11896 11897 +1
Branches 1784 1784
========================================
+ Hits 9774 9775 +1
Misses 1572 1572
Partials 550 550
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Merging stable into develop after merging pull request #1119.
Summary by cubic
Adds exhaustive path search and truncation reporting to
infrahub_sdkgraph traversal. Introducesshortest_paths_onlyontraverse_pathsand surfacestruncated_at_depthin results, with docs and tests.traverse_paths(async and sync): new optionalshortest_paths_only; when False, return all loopless paths (exhaustive). Omitted by default to use the server default.PathTraversalResult: newtruncated_at_depthfield; None when the search completes within budget. GraphQL selection and parsing updated.shortest_paths_onlyand how to checktruncated_at_depth.Written for commit 0828e6d. Summary will update on new commits.