Skip to content

[Search] Regenerate azure-search-documents from 2026-04-01 GA spec patch (SHA d62196d)#46635

Merged
hizixin merged 2 commits intomainfrom
search/2026-04-01-ga-patch
Apr 30, 2026
Merged

[Search] Regenerate azure-search-documents from 2026-04-01 GA spec patch (SHA d62196d)#46635
hizixin merged 2 commits intomainfrom
search/2026-04-01-ga-patch

Conversation

@hizixin
Copy link
Copy Markdown
Member

@hizixin hizixin commented Apr 30, 2026

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:

  • The pull request does not introduce [breaking changes]
  • CHANGELOG is updated for new features, bug fixes or other significant changes.
  • I have read the contribution guidelines.

General Guidelines and Best Practices

  • Title of the pull request is clear and informative.
  • There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

  • Pull request includes test coverage for the included changes.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings April 30, 2026 20:37
@hizixin hizixin requested review from a team as code owners April 30, 2026 20:37
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.yaml to 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.py across documents/indexes/knowledgebases; removed KnowledgeSourceIngestionPermissionOption from 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>
Comment thread sdk/search/azure-search-documents/apiview-properties.json
@hizixin hizixin merged commit 79197c9 into main Apr 30, 2026
19 checks passed
@hizixin hizixin deleted the search/2026-04-01-ga-patch branch April 30, 2026 23:39
@github-project-automation github-project-automation Bot moved this from Untriaged to Done in Azure SDK for Search Apr 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants