opsmill / infrahub-sdk-python

Python SDK to interact with Infrahub
https://www.opsmill.com
Apache License 2.0
3 stars 2 forks source link

Merge back stable into develop with resolved conflicts #88

Closed ogenstad closed 1 month ago

ogenstad commented 1 month ago

Merge back #7 into develop and resolve merge conflicts, also removes the "await" keyword from some new calls to initialize_client() (that used to be an async function)

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 20.45455% with 35 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
infrahub_sdk/ctl/cli_commands.py 0.00% 16 Missing :warning:
infrahub_sdk/transforms.py 30.76% 9 Missing :warning:
infrahub_sdk/ctl/branch.py 33.33% 4 Missing :warning:
infrahub_sdk/ctl/check.py 0.00% 1 Missing :warning:
infrahub_sdk/ctl/generator.py 0.00% 1 Missing :warning:
infrahub_sdk/ctl/menu.py 0.00% 1 Missing :warning:
infrahub_sdk/ctl/object.py 0.00% 1 Missing :warning:
infrahub_sdk/ctl/repository.py 0.00% 1 Missing :warning:
infrahub_sdk/ctl/schema.py 50.00% 1 Missing :warning:
@@             Coverage Diff             @@
##           develop      #88      +/-   ##
===========================================
- Coverage    64.32%   64.26%   -0.06%     
===========================================
  Files           74       74              
  Lines         6847     6858      +11     
  Branches      1354     1356       +2     
===========================================
+ Hits          4404     4407       +3     
- Misses        2091     2099       +8     
  Partials       352      352              
Flag Coverage Δ
python-3.10 43.21% <11.36%> (-0.07%) :arrow_down:
python-3.11 43.21% <11.36%> (-0.07%) :arrow_down:
python-3.12 43.21% <11.36%> (-0.07%) :arrow_down:
python-3.9 43.16% <11.36%> (-0.07%) :arrow_down:
python-filler-3.12 23.91% <9.09%> (+<0.01%) :arrow_up:

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

Files with missing lines Coverage Δ
infrahub_sdk/ctl/client.py 47.61% <100.00%> (ø)
infrahub_sdk/ctl/validate.py 54.92% <100.00%> (ø)
infrahub_sdk/ctl/check.py 27.00% <0.00%> (ø)
infrahub_sdk/ctl/generator.py 21.56% <0.00%> (ø)
infrahub_sdk/ctl/menu.py 65.38% <0.00%> (ø)
infrahub_sdk/ctl/object.py 65.38% <0.00%> (ø)
infrahub_sdk/ctl/repository.py 37.03% <0.00%> (ø)
infrahub_sdk/ctl/schema.py 55.83% <50.00%> (ø)
infrahub_sdk/ctl/branch.py 76.81% <33.33%> (ø)
infrahub_sdk/transforms.py 38.57% <30.76%> (+1.07%) :arrow_up:
... and 1 more