Regenerate azure-mgmt-purview with latest code generator tool#46980
Merged
Conversation
d2cff52 to
cd6baf8
Compare
Contributor
There was a problem hiding this comment.
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.yamlremoved,_metadata.jsonupdated with autorest command/readme), and downgrades the targeted API version to2021-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_urlin_configuration.pyand the publicsend_requestbecomes_send_request. - Bumps the package to
1.0.1and 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". |
ChenxiJiang333
approved these changes
May 19, 2026
ninghu
pushed a commit
to ninghu/azure-sdk-for-python
that referenced
this pull request
May 22, 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.
Regenerate
azure-mgmt-purviewwith latest code generator tool.