Skip to content

Regenerate azure-mgmt-purview with latest code generator tool#46980

Merged
ChenxiJiang333 merged 1 commit into
mainfrom
regen-azure-mgmt-purview-2026-05-19
May 19, 2026
Merged

Regenerate azure-mgmt-purview with latest code generator tool#46980
ChenxiJiang333 merged 1 commit into
mainfrom
regen-azure-mgmt-purview-2026-05-19

Conversation

@msyyc
Copy link
Copy Markdown
Member

@msyyc msyyc commented May 19, 2026

Regenerate azure-mgmt-purview with latest code generator tool.

Copilot AI review requested due to automatic review settings May 19, 2026 07:01
@msyyc msyyc requested a review from ChenxiJiang333 as a code owner May 19, 2026 07:01
@msyyc msyyc force-pushed the regen-azure-mgmt-purview-2026-05-19 branch from d2cff52 to cd6baf8 Compare May 19, 2026 07:02
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-mgmt-purview with the AutoRest code generator. The regeneration targets the stable 2021-07-01 API and drops the 2024-04-01-preview surface previously emitted by TypeSpec (released as 1.1.0b2), shipping as version 1.0.1 and flipping the package to stable.

Changes:

  • Switches the package from TypeSpec-based regeneration back to AutoRest (tsp-location.yaml removed, _metadata.json updated with autorest command/readme), and downgrades the targeted API version to 2021-07-01.
  • Removes large parts of the preview API surface (Features, KafkaConfigurations, IngestionPrivateEndpointConnections, Usages, several models/enums) and reorganizes operations/models into per-operation files; client constructor signature loses base_url in _configuration.py and the public send_request becomes _send_request.
  • Bumps the package to 1.0.1 and marks it stable (is_stable=true, Development Status :: 5 - Production/Stable), drops Python 3.9 support in README, and updates CHANGELOG plus generated samples/tests.

Reviewed changes

Copilot reviewed 70 out of 72 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
sdk/purview/azure-mgmt-purview/tsp-location.yaml Deletes TypeSpec source pointer (package moves off TypeSpec).
sdk/purview/azure-mgmt-purview/_metadata.json Records new commit and autorest invocation; keeps stale apiVersions entry.
sdk/purview/azure-mgmt-purview/CHANGELOG.md Adds 1.0.1 (2026-05-19) entry.
sdk/purview/azure-mgmt-purview/README.md Updates minimum Python to 3.10+.
sdk/purview/azure-mgmt-purview/pyproject.toml Flips package to stable classifier/is_stable=true.
sdk/purview/azure-mgmt-purview/apiview-properties.json Rewrites cross-language id map for the smaller surface.
sdk/purview/azure-mgmt-purview/azure/mgmt/purview/_version.py Sets VERSION = "1.0.1".
sdk/purview/azure-mgmt-purview/azure/mgmt/purview/init.py, aio/init.py Re-points to _purview_management_client module.
sdk/purview/azure-mgmt-purview/azure/mgmt/purview/_purview_management_client.py, aio/_purview_management_client.py New client wiring; drops base_url config arg, renames send_request_send_request, drops preview operation groups.
sdk/purview/azure-mgmt-purview/azure/mgmt/purview/_configuration.py, aio/_configuration.py Default api_version 2021-07-01, removes base_url parameter.
sdk/purview/azure-mgmt-purview/azure/mgmt/purview/operations/init.py, aio/operations/init.py Reorganizes exported operations into per-file modules.
sdk/purview/azure-mgmt-purview/azure/mgmt/purview/operations/_default_accounts_operations.py, _private_endpoint_connections_operations.py, _private_link_resources_operations.py (+aio variants) Newly split operation modules for the 2021-07-01 surface.
sdk/purview/azure-mgmt-purview/azure/mgmt/purview/models/init.py, _purview_management_client_enums.py, _enums.py Regenerated model/enum surface; removes preview-only types.
sdk/purview/azure-mgmt-purview/azure/mgmt/purview/_utils/* Generator header updates.
sdk/purview/azure-mgmt-purview/generated_samples/* Adds/removes/rewrites samples to match the 2021-07-01 surface (deletes Kafka/Features/Usages/Ingestion samples).
sdk/purview/azure-mgmt-purview/generated_tests/* Regenerates test stubs with api_version="2021-07-01".

Comment thread sdk/purview/azure-mgmt-purview/CHANGELOG.md
Comment thread sdk/purview/azure-mgmt-purview/_metadata.json
@ChenxiJiang333 ChenxiJiang333 merged commit b66e922 into main May 19, 2026
19 checks passed
@ChenxiJiang333 ChenxiJiang333 deleted the regen-azure-mgmt-purview-2026-05-19 branch May 19, 2026 08:47
ninghu pushed a commit to ninghu/azure-sdk-for-python that referenced this pull request May 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants