feat: add label management to destination, fragment, and certificate clients#57
Merged
cassiofariasmachado merged 3 commits intomainfrom Apr 15, 2026
Merged
Conversation
…clients - Add Label and PatchLabels dataclasses to models - Add get/update/patch label methods to all three cloud clients (destination, fragment, certificate) at both instance and subaccount levels - Add same label methods to local dev clients for offline testing - Add filter_labels support to ListOptions for OData label filtering - Add filter parameter to all list methods (fragment list methods now also support label filtering) - Add PATCH support to DestinationHttp - Add label helper methods to LocalDevClientBase - Add 9 new Operation enum entries for telemetry - Export Label and PatchLabels from the public API - Add comprehensive unit and integration tests for all new functionality
NicoleMGomes
approved these changes
Apr 15, 2026
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.
Description
Add label management capabilities to the destination, fragment, and certificate clients. Labels are key-value metadata that can be attached to resources and used for filtering list operations via OData expressions.
Related Issue
N/A
Type of Change
How to Test
update_*_labelsto assign labelsget_*_labelsand verify labels are returnedpatch_*_labelswithaction="proxy.php?url=https%3A%2F%2Fgithub.com%2FSAP%2Fcloud-sdk-python%2Fpull%2FADD"and verify mergelist_subaccount_*withfilter=ListOptions(filter_labels=[Label(key="env", values=["prod"])])and verify only matching resources are returnedChecklist
Breaking Changes
None.
Additional Notes
LabelandPatchLabelsare exported from the publicsap_cloud_sdk.destinationAPIfilter_labelsinListOptionsis mutually exclusive withfilter_namesaccess_strategy/tenantparameter)"labels"key;update_*operations preserve labels