[Search] Regenerate azure-search-documents from 2026-04-01 GA spec patch (SHA d62196d)#46635
Merged
[Search] Regenerate azure-search-documents from 2026-04-01 GA spec patch (SHA d62196d)#46635
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Regenerates azure-search-documents from the 2026-04-01 GA Search data-plane spec (commit d62196d…), updating generated models/utilities and APIView cross-language mappings accordingly.
Changes:
- Updated
tsp-location.yamlto point at the new swagger/spec commit. - Added a new knowledge base activity record discriminator/type (
modelWebSummarization) and corresponding model/export. - Refactored XML (de)serialization helpers in
model_base.pyacross documents/indexes/knowledgebases; removedKnowledgeSourceIngestionPermissionOptionfrom indexes models and updated APIView mapping.
Reviewed changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| sdk/search/azure-search-documents/tsp-location.yaml | Bumps the spec source commit used for regeneration. |
| sdk/search/azure-search-documents/azure/search/documents/knowledgebases/models/_models.py | Adds KnowledgeBaseModelWebSummarizationActivityRecord; removes ingestion_permission_options from KnowledgeSourceIngestionParameters; updates discriminator docs. |
| sdk/search/azure-search-documents/azure/search/documents/knowledgebases/models/_enums.py | Adds KnowledgeBaseActivityRecordType.MODEL_WEB_SUMMARIZATION. |
| sdk/search/azure-search-documents/azure/search/documents/knowledgebases/models/init.py | Exposes the new activity record model in public imports/__all__. |
| sdk/search/azure-search-documents/azure/search/documents/knowledgebases/_utils/model_base.py | XML namespace handling/serialization refactor (knowledgebases flavor). |
| sdk/search/azure-search-documents/azure/search/documents/indexes/models/_enums.py | Removes KnowledgeSourceIngestionPermissionOption. |
| sdk/search/azure-search-documents/azure/search/documents/indexes/models/init.py | Removes the enum from public exports. |
| sdk/search/azure-search-documents/azure/search/documents/indexes/_utils/model_base.py | XML namespace handling/serialization refactor (indexes flavor). |
| sdk/search/azure-search-documents/azure/search/documents/_utils/model_base.py | XML namespace handling/serialization refactor (main documents flavor). |
| sdk/search/azure-search-documents/apiview-properties.json | Updates cross-language symbol mappings (adds new model; removes deleted enum; renames customization mapping targets). |
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2d92653 to
8a36001
Compare
4 tasks
efrainretana
approved these changes
Apr 30, 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