Skip to content

Move standard library imports into a type-checking block

a2f093d
Select commit
Loading
Failed to load commit list.
Closed

Move standard library imports into a type-checking block #773

Move standard library imports into a type-checking block
a2f093d
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jan 27, 2026 in 0s

72.29% (target 0.00%)

View this Pull Request on Codecov

72.29% (target 0.00%)

Details

Codecov Report

✅ All modified and coverable lines are covered by tests.

❗ There is a different number of reports uploaded between BASE (6673875) and HEAD (a2f093d). Click for more details.

HEAD has 8 uploads less than BASE
Flag BASE (6673875) HEAD (a2f093d)
python-3.11 2 1
python-3.12 2 1
python-3.10 2 1
python-filler-3.12 2 1
python-3.14 2 1
python-3.13 2 1
integration-tests 2 0
@@            Coverage Diff             @@
##           stable     #773      +/-   ##
==========================================
- Coverage   80.39%   72.29%   -8.11%     
==========================================
  Files         115      115              
  Lines        9869     9853      -16     
  Branches     1511     1512       +1     
==========================================
- Hits         7934     7123     -811     
- Misses       1413     2224     +811     
+ Partials      522      506      -16     
Files with missing lines Coverage Δ
infrahub_sdk/async_typer.py 100.00% <100.00%> (ø)
infrahub_sdk/batch.py 94.44% <ø> (-0.08%) ⬇️
infrahub_sdk/client.py 65.40% <ø> (-6.46%) ⬇️
infrahub_sdk/ctl/cli_commands.py 70.68% <ø> (-0.52%) ⬇️
infrahub_sdk/ctl/graphql.py 88.54% <100.00%> (ø)
infrahub_sdk/ctl/schema.py 55.47% <100.00%> (ø)
infrahub_sdk/ctl/utils.py 68.30% <ø> (-0.23%) ⬇️
infrahub_sdk/exceptions.py 83.78% <100.00%> (-5.51%) ⬇️
infrahub_sdk/node/attribute.py 93.10% <ø> (-2.36%) ⬇️
infrahub_sdk/node/node.py 76.44% <ø> (-8.91%) ⬇️
... and 13 more

... and 21 files with indirect coverage changes

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