add "azure-asyncoperation" header into mgmt-core#44658
Merged
xiangyan99 merged 6 commits intomainfrom Jan 21, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds support for the azure-asyncoperation header in ARM polling continuation tokens by overriding the _filter_headers_for_continuation_token method in both ARMPolling and AsyncARMPolling classes. The changes update the minimum azure-core version to 1.38.0 to use the new continuation token infrastructure.
Changes:
- Updated azure-core dependency from >=1.32.0 to >=1.38.0
- Added
_filter_headers_for_continuation_tokenoverride inARMPollingandAsyncARMPollingclasses - Created new
_utils.pymodule with_filter_arm_headersfunction
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| sdk/core/azure-mgmt-core/setup.py | Bumped azure-core minimum version to 1.38.0 to support new continuation token format |
| sdk/core/azure-mgmt-core/azure/mgmt/core/polling/arm_polling.py | Added _filter_headers_for_continuation_token override and imported _filter_arm_headers utility |
| sdk/core/azure-mgmt-core/azure/mgmt/core/polling/async_arm_polling.py | Added _filter_headers_for_continuation_token override for async polling |
| sdk/core/azure-mgmt-core/azure/mgmt/core/polling/_utils.py | Created new utility module with ARM-specific header filtering logic |
| sdk/core/azure-mgmt-core/CHANGELOG.md | Added changelog entry documenting the bug fix |
pvaneck
reviewed
Jan 16, 2026
lmazuel
approved these changes
Jan 20, 2026
msyyc
approved these changes
Jan 21, 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
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
If an SDK is being regenerated based on a new API spec, a link to the pull request containing these API spec changes should be included above.
All SDK Contribution checklist:
General Guidelines and Best Practices
Testing Guidelines