[App Configuration] - Head request support#45858
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a HEAD-based “check” API to Azure App Configuration’s Python client to support efficient change detection via page-level ETags (mirroring the JS SDK behavior).
Changes:
- Introduces
check_configuration_settings()on sync and async clients, backed by new generated HEAD operations. - Refactors generated paging/request preparation helpers and adds
check_key_values_in_one_pageimplementations. - Adds new sync/async AAD tests plus a new usage sample; updates changelog and test recordings assets tag.
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
| sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/_azure_appconfiguration_client.py | Adds sync check_configuration_settings() surface. |
| sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/aio/_azure_appconfiguration_client_async.py | Adds async check_configuration_settings() surface. |
| sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/_generated/_operations/_patch.py | Adds sync generated HEAD operation + shared request/error-map helpers. |
| sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/_generated/aio/_operations/_patch.py | Adds async generated HEAD operation + shared request/error-map helpers. |
| sdk/appconfiguration/azure-appconfiguration/tests/test_azure_appconfiguration_client_aad.py | Adds sync AAD test covering page-level ETag monitoring via HEAD. |
| sdk/appconfiguration/azure-appconfiguration/tests/test_azure_appconfiguration_client_aad_async.py | Adds async AAD test covering page-level ETag monitoring via HEAD. |
| sdk/appconfiguration/azure-appconfiguration/samples/check_configuration_settings_sample.py | New sample demonstrating HEAD-based change checks via ETags. |
| sdk/appconfiguration/azure-appconfiguration/CHANGELOG.md | Documents the new check_configuration_settings() feature. |
| sdk/appconfiguration/azure-appconfiguration/assets.json | Updates assets tag for new recordings. |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
6 tasks
avanigupta
reviewed
Apr 23, 2026
avanigupta
reviewed
Apr 23, 2026
avanigupta
reviewed
May 4, 2026
jimmyca15
reviewed
May 7, 2026
jimmyca15
reviewed
May 7, 2026
jimmyca15
reviewed
May 7, 2026
jimmyca15
reviewed
May 11, 2026
jimmyca15
reviewed
May 11, 2026
jimmyca15
approved these changes
May 11, 2026
jimmyca15
approved these changes
May 11, 2026
avanigupta
reviewed
May 11, 2026
avanigupta
approved these changes
May 12, 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
Adds a way to check for app config changes via head request.
See JS version: Azure/azure-sdk-for-js#36959
All SDK Contribution checklist:
General Guidelines and Best Practices
Testing Guidelines