Skip to content

Fix mypy attr-defined errors in branch.py

66dc624
Select commit
Loading
Failed to load commit list.
Closed

Add telemetry CLI commands for airgapped data export #748

Fix mypy attr-defined errors in branch.py
66dc624
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jan 19, 2026 in 1s

80.56% (target 0.00%)

View this Pull Request on Codecov

80.56% (target 0.00%)

Details

Codecov Report

❌ Patch coverage is 97.81022% with 6 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
infrahub_sdk/types.py 75.00% 3 Missing ⚠️
infrahub_sdk/graphql/renderers.py 66.66% 1 Missing and 1 partial ⚠️
infrahub_sdk/ctl/telemetry.py 99.18% 0 Missing and 1 partial ⚠️
@@            Coverage Diff             @@
##           stable     #748      +/-   ##
==========================================
+ Coverage   80.31%   80.56%   +0.24%     
==========================================
  Files         115      116       +1     
  Lines        9883    10012     +129     
  Branches     1520     1533      +13     
==========================================
+ Hits         7938     8066     +128     
  Misses       1417     1417              
- Partials      528      529       +1     
Files with missing lines Coverage Δ
infrahub_sdk/branch.py 68.30% <100.00%> (ø)
infrahub_sdk/checks.py 70.19% <100.00%> (ø)
infrahub_sdk/client.py 71.85% <ø> (ø)
infrahub_sdk/ctl/branch.py 81.13% <100.00%> (ø)
infrahub_sdk/ctl/cli_commands.py 71.42% <100.00%> (+0.22%) ⬆️
infrahub_sdk/enums.py 100.00% <100.00%> (ø)
infrahub_sdk/node/attribute.py 95.45% <100.00%> (ø)
infrahub_sdk/node/constants.py 100.00% <100.00%> (ø)
infrahub_sdk/node/metadata.py 100.00% <100.00%> (ø)
infrahub_sdk/node/node.py 84.98% <100.00%> (ø)
... and 9 more
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.