[AutoPR azure-keyvault-keys]-generated-from-SDK Generation - Python-6328433#47027
Open
azure-sdk wants to merge 7 commits into
Open
[AutoPR azure-keyvault-keys]-generated-from-SDK Generation - Python-6328433#47027azure-sdk wants to merge 7 commits into
azure-sdk wants to merge 7 commits into
Conversation
…l', API Version: 2026-03-01-preview, SDK Release Type: beta, and CommitSHA: '9dd262c196cd5d27bb01a6bf4d645d9c89cc0f02' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6328433 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release.
Contributor
There was a problem hiding this comment.
Pull request overview
Updates azure-keyvault-keys generated code from the Key Vault Keys TypeSpec for API version 2026-03-01-preview, adding new models/operations and aligning generated infrastructure (serialization/model base) with newer generator output.
Changes:
- Bumps generated API surface to include
2026-03-01-previewand adds secure wrap/unwrap operations + related models/enums. - Refactors generated internals by removing legacy
_serialization.py/_model_base.pyin favor of_utils/equivalents, and updates typing (Self,list[str]). - Updates metadata (
tsp-location.yaml,_metadata.json, apiview mapping) and versioning (_generated/_version.py, changelog entry).
Reviewed changes
Copilot reviewed 25 out of 25 changed files in this pull request and generated 10 comments.
Show a summary per file
| File | Description |
|---|---|
| sdk/keyvault/azure-keyvault-keys/tsp-location.yaml | Updates spec repo commit and adds an additional directory for shared TypeSpec sources. |
| sdk/keyvault/azure-keyvault-keys/CHANGELOG.md | Adds unreleased 4.12.0b1 entry for the new API version/default. |
| sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_generated/models/_patch.py | Modernizes typing (list[str]) and header template. |
| sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_generated/models/_models.py | Adds new generated models and extends existing ones for the new API version. |
| sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_generated/models/_enums.py | Adds wrap algorithm enum and adjusts existing enum member names. |
| sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_generated/models/init.py | Exposes new models/enums via the generated models package. |
| sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_generated/aio/_vendor.py | Removes async vendor typing mixin file. |
| sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_generated/aio/_patch.py | Modernizes typing (list[str]) and header template. |
| sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_generated/aio/_operations/_patch.py | Modernizes typing (list[str]) and header template. |
| sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_generated/aio/_operations/_operations.py | Adds async secure wrap/unwrap operations and updates API version lists/request construction. |
| sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_generated/aio/_configuration.py | Updates default API version and api_version docstring text. |
| sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_generated/aio/_client.py | Updates Self import strategy and api_version docstring text. |
| sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_generated/_version.py | Bumps generated version string to 4.12.0b1. |
| sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_generated/_vendor.py | Removes sync vendor typing mixin file. |
| sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_generated/_utils/serialization.py | Switches Self import based on Python version; becomes the remaining serialization implementation. |
| sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_generated/_utils/model_base.py | Changes model default-handling behavior and Self import strategy. |
| sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_generated/_serialization.py | Removes legacy serialization module (now relying on _utils/serialization.py). |
| sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_generated/_patch.py | Modernizes typing (list[str]) and header template. |
| sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_generated/_operations/_patch.py | Modernizes typing (list[str]) and header template. |
| sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_generated/_operations/_operations.py | Adds secure wrap/unwrap operations and updates API version lists/request construction. |
| sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_generated/_model_base.py | Removes legacy model base module (now relying on _utils/model_base.py). |
| sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_generated/_configuration.py | Updates default API version and api_version docstring text. |
| sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_generated/_client.py | Updates Self import strategy and api_version docstring text. |
| sdk/keyvault/azure-keyvault-keys/apiview-properties.json | Adds new API surface mappings for APIView (new models/operations/enums). |
| sdk/keyvault/azure-keyvault-keys/_metadata.json | Updates API version and includes spec commit/repo/emitter metadata. |
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
10fdfe2 to
462a735
Compare
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
462a735 to
192b394
Compare
Member
|
/azp run python - pullrequest |
|
Azure Pipelines will not run the associated pipelines, because the pull request was updated after the run command was issued. Review the pull request again and issue a new run command. |
Resolve conflicts from PR #47116 (2026-01-01-preview) landing on main: - Generated code (_generated/**, _metadata.json, apiview-properties.json): take ours, TSP commit 9dd262c1... contains both 2026-01-01-preview and 2026-03-01-preview - tsp-location.yaml: take ours (newer TSP commit) - assets.json: take ours (_a59f4659da has 2026-03-01-preview recordings) - _shared/client_base.py: keep both V2026_03_01_PREVIEW and V2026_01_01_PREVIEW enum entries, DEFAULT_VERSION = V2026_03_01_PREVIEW - CHANGELOG.md: new 4.12.0b2 (Unreleased) section above main's shipped 4.12.0b1 (2026-05-26) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…ine) Rebased recordings on main's _e47dc10e22 baseline (added by PR #47116) and layered our 2026-03-01-preview recordings on top. New tag contains: - 131 [2026-01-01-preview_*] files (from main's baseline) - 131 [2026-03-01-preview_*] files (ours, including 9 synthesized for tests new in main) Full-suite playback: 1464 passed, 88 skipped, 0 failed.
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.
Configurations: 'specification/keyvault/data-plane/Keys/tspconfig.yaml', API Version: 2026-03-01-preview, SDK Release Type: beta, and CommitSHA: '9dd262c196cd5d27bb01a6bf4d645d9c89cc0f02' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6328433 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release.