Repository navigation
Add ITIL category search, fetch, create, update and delete (0.6.10) - #49
Merged
Merged
Conversation
…PI clients, with their models, docs and the 0.6.10 release metadata. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…und the paging fakes so a loop that never stops fails the test instead of hanging. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #49 +/- ##
==========================================
+ Coverage 98.06% 98.11% +0.04%
==========================================
Files 94 96 +2
Lines 3726 3811 +85
==========================================
+ Hits 3654 3739 +85
Misses 72 72 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds the GLPI v2
/Dropdowns/ITILCategoryroutes to both clients, so a caller can find and create ITIL categories. Existing methods are unchanged. Release 0.6.10.search_itil_categories,iter_search_itil_categories,get_itil_category,create_itil_category,update_itil_categoryanddelete_itil_category, from a newITILCategoryMixinand theITIL_CATEGORY_ENDPOINTconstant.skip_entity: bool = Falseon search, iter and get. WithTruethey omit theGLPI-Entity,GLPI-ProfileandGLPI-Entity-Recursiveheaders, so the call covers every entity the caller can see. The write methods always send them.GetITILCategory,PostITILCategory,PatchITILCategoryandDeleteITILCategory, modelled oncomponents.schemas.ITILCategory, exported from the package root and fromglpi_python_client.models._syncclient is generated from the async source with unasync. Docs, skills, changelog and version metadata are updated to 0.6.10.Tests
unasync --check, sphinx.startadvance and theforceNone path.Note:
vultureexits 3 on_sync/clients/client.py(exc_type,exc,tbunused). It does the same onmainat a07b630, so this branch did not cause it.🤖 Generated with Claude Code