Skip to content

Merge develop into infrahub-develop - #1247

Merged
infrahub-github-bot-app[bot] merged 4 commits into
infrahub-developfrom
develop
Aug 14, 2026
Merged

Merge develop into infrahub-develop#1247
infrahub-github-bot-app[bot] merged 4 commits into
infrahub-developfrom
develop

Conversation

@infrahub-github-bot-app

@infrahub-github-bot-app infrahub-github-bot-app Bot commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Merging develop into infrahub-develop after merging pull request #1246.


Summary by cubic

Expands the Python typing guide to include real-world Protocol usage and regeneration guidance so developers catch schema mismatches during development. Documentation-only; no runtime behavior changes.

Changes

  • Rewrites the overview to emphasize type safety with SDK Protocols and Pydantic models.
  • Adds a generators/transforms example using client.filters(kind=NetworkDevice, ...) returning list[NetworkDevice].
  • Instructs teams to treat generated protocols as build artifacts and to regenerate with infrahubctl protocols --out lib/protocols.py.

Review notes

  • Verify the infrahubctl command and path align with existing docs and tooling.
  • Check that the example is minimal, syntactically correct, and avoids redundant annotations.

Written for commit 32fa981. Summary will update on new commits.

Review in cubic

iddocohen and others added 4 commits July 29, 2026 12:13
Add a generators/transforms usage example (multi-kind filters with a
typed list) and guidance to regenerate protocols on schema change and
treat the generated file as a build artifact. Rewrite the overview
opener as a capability lead.
…xamples

docs: expand Python typing guide with real-world protocol examples
Merge stable into develop
@github-actions github-actions Bot added the type/documentation Improvements or additions to documentation label Aug 14, 2026
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying infrahub-sdk-python with  Cloudflare Pages  Cloudflare Pages

Latest commit: 32fa981
Status: ✅  Deploy successful!
Preview URL: https://28b9220b.infrahub-sdk-python.pages.dev
Branch Preview URL: https://develop.infrahub-sdk-python.pages.dev

View logs

@codecov

codecov Bot commented Aug 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

@@                 Coverage Diff                  @@
##           infrahub-develop    #1247      +/-   ##
====================================================
- Coverage             85.18%   83.04%   -2.15%     
====================================================
  Files                   147      141       -6     
  Lines                 15786    12614    -3172     
  Branches               2707     1909     -798     
====================================================
- Hits                  13447    10475    -2972     
+ Misses                 1673     1573     -100     
+ Partials                666      566     -100     
Flag Coverage Δ
integration-tests 40.08% <ø> (-1.48%) ⬇️
python-3.10 57.46% <ø> (-0.75%) ⬇️
python-3.11 57.48% <ø> (-0.74%) ⬇️
python-3.12 57.48% <ø> (-0.74%) ⬇️
python-3.13 57.46% <ø> (-0.76%) ⬇️
python-3.14 57.48% <ø> (-0.73%) ⬇️
python-filler-3.12 21.84% <ø> (-2.67%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 33 files with indirect coverage changes

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

@infrahub-github-bot-app
infrahub-github-bot-app Bot merged commit 4f78515 into infrahub-develop Aug 14, 2026
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type/documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants