Skip to content

Process all relationships and sub nodes within a GraphQL query #377

New issue

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

Open
wants to merge 1 commit into
base: stable
Choose a base branch
from

Conversation

FragmentedPacket
Copy link
Contributor

@FragmentedPacket FragmentedPacket commented Apr 26, 2025

Updated _process_relationships to recursively process sub relationships for both clients.

Copy link

codecov bot commented Apr 26, 2025

Codecov Report

Attention: Patch coverage is 8.33333% with 22 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
infrahub_sdk/node.py 8.33% 22 Missing ⚠️

❗ There is a different number of reports uploaded between BASE (565f729) and HEAD (57b3651). Click for more details.

HEAD has 8 uploads less than BASE
Flag BASE (565f729) HEAD (57b3651)
python-3.11 2 1
python-3.10 2 1
python-3.9 2 1
python-3.12 2 1
python-filler-3.12 2 1
python-3.13 2 1
integration-tests 2 0
@@            Coverage Diff             @@
##           stable     #377      +/-   ##
==========================================
- Coverage   73.80%   68.75%   -5.06%     
==========================================
  Files          92       92              
  Lines        8548     8568      +20     
  Branches     1680     1686       +6     
==========================================
- Hits         6309     5891     -418     
- Misses       1793     2219     +426     
- Partials      446      458      +12     
Flag Coverage Δ
integration-tests ?
python-3.10 47.18% <0.00%> (-0.09%) ⬇️
python-3.11 47.16% <0.00%> (-0.14%) ⬇️
python-3.12 47.16% <0.00%> (-0.14%) ⬇️
python-3.13 47.16% <0.00%> (-0.14%) ⬇️
python-3.9 45.58% <0.00%> (-0.11%) ⬇️
python-filler-3.12 24.19% <8.33%> (-0.04%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
infrahub_sdk/node.py 70.27% <8.33%> (-7.30%) ⬇️

... and 12 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant