Skip to content

feat: add collapsed attribute to CoreMenu protocols - #1560

Open
lancamat1 wants to merge 1 commit into
stablefrom
mla/menu-collapsed
Open

lancamat1 wants to merge 1 commit into
stablefrom
mla/menu-collapsed

Conversation

@lancamat1

@lancamat1 lancamat1 commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Regenerated infrahub_sdk/protocols.py after adding a collapsed Boolean attribute to the CoreMenu generic in Infrahub. It adds collapsed: Boolean to CoreMenu, CoreMenuItem, CoreMenuSync and CoreMenuItemSync.

The Infrahub side is opsmill/infrahub#11800. The python_sdk pointer in that PR references this commit, so this PR has to merge first.

No changelog fragment: the file is generated and the change only follows the Infrahub core schema.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

Deploying infrahub-sdk-python with  Cloudflare Pages  Cloudflare Pages

Latest commit: 163b384
Status: ✅  Deploy successful!
Preview URL: https://df63839b.infrahub-sdk-python.pages.dev
Branch Preview URL: https://mla-menu-collapsed.infrahub-sdk-python.pages.dev

View logs

@codecov

codecov Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

@@            Coverage Diff             @@
##           stable    #1560      +/-   ##
==========================================
- Coverage   88.21%   87.88%   -0.33%     
==========================================
  Files         157      157              
  Lines       16310    15664     -646     
  Branches     2410     2114     -296     
==========================================
- Hits        14388    13767     -621     
+ Misses       1341     1336       -5     
+ Partials      581      561      -20     
Flag Coverage Δ
integration-tests 43.00% <100.00%> (+0.78%) ⬆️
python-3.10 63.06% <100.00%> (-0.62%) ⬇️
python-3.11 63.04% <100.00%> (-0.63%) ⬇️
python-3.12 63.06% <100.00%> (-0.62%) ⬇️
python-3.13 63.04% <100.00%> (-0.63%) ⬇️
python-3.14 63.05% <100.00%> (-0.63%) ⬇️
python-3.15 63.05% <100.00%> (-0.63%) ⬇️
python-filler-3.12 23.03% <0.00%> (-0.10%) ⬇️

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

Files with missing lines Coverage Δ
infrahub_sdk/protocols.py 100.00% <100.00%> (ø)

... and 2 files with indirect coverage changes

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

@lancamat1
lancamat1 marked this pull request as ready for review November 30, 2026 18:59
@lancamat1
lancamat1 requested a review from a team as a code owner November 30, 2026 18:59
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