[AutoPR azure-keyvault-secrets]-generated-from-SDK Generation - Python-6063244#45913
Merged
Conversation
…yaml', API Version: 2025-07-01, SDK Release Type: stable, and CommitSHA: '942c8b2fd38b3be3f322e219c97c5c3a75f2e97b' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6063244 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
This is an auto-generated update for azure-keyvault-secrets based on the Key Vault Secrets TypeSpec config (specification/keyvault/data-plane/Secrets/tspconfig.yaml) targeting API version 2025-07-01 and a stable release.
Changes:
- Updates TypeSpec source location metadata and regenerates the
_generatedclient/models (including new API surface likeout_content_typeandContentType). - Updates packaging/release artifacts (pyproject/manifest/changelog/metadata) to reflect the new generated output and version bump to 4.11.0.
- Applies formatting/lint-oriented edits across samples and tests.
Reviewed changes
Copilot reviewed 62 out of 63 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
| sdk/keyvault/azure-keyvault-secrets/tsp-location.yaml | Updates the TypeSpec source path/commit and additional directories. |
| sdk/keyvault/azure-keyvault-secrets/tests/test_secrets_client.py | Minor whitespace formatting in tests. |
| sdk/keyvault/azure-keyvault-secrets/tests/test_secrets_async.py | Minor whitespace formatting in tests. |
| sdk/keyvault/azure-keyvault-secrets/tests/test_polling_method.py | Reflows long constructor calls for readability. |
| sdk/keyvault/azure-keyvault-secrets/tests/conftest.py | Adds trailing comma in import list. |
| sdk/keyvault/azure-keyvault-secrets/setup.py | Adds a generated setup.py with its own version/dependency metadata. |
| sdk/keyvault/azure-keyvault-secrets/sdk_packaging.toml | Removes legacy packaging configuration file. |
| sdk/keyvault/azure-keyvault-secrets/samples/recover_purge_operations_async.py | Adds pylint disables / spacing tweaks. |
| sdk/keyvault/azure-keyvault-secrets/samples/recover_purge_operations.py | Adds pylint disables. |
| sdk/keyvault/azure-keyvault-secrets/samples/list_operations_async.py | Adds pylint disables; reflows long print statements. |
| sdk/keyvault/azure-keyvault-secrets/samples/list_operations.py | Adds pylint disables; reflows long print statements. |
| sdk/keyvault/azure-keyvault-secrets/samples/hello_world_async.py | Adds pylint disables / spacing tweaks. |
| sdk/keyvault/azure-keyvault-secrets/samples/hello_world.py | Adds pylint disables. |
| sdk/keyvault/azure-keyvault-secrets/samples/backup_restore_operations_async.py | Adds pylint disables; minor formatting. |
| sdk/keyvault/azure-keyvault-secrets/samples/backup_restore_operations.py | Adds pylint disables. |
| sdk/keyvault/azure-keyvault-secrets/pyproject.toml | Reformats TOML and moves [packaging] config into pyproject. |
| sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/aio/_client.py | Removes async convenience SecretClient implementation. |
| sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/aio/init.py | Removes exports for async SecretClient. |
| sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_version.py | Removes version module previously used for package versioning. |
| sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_shared/http_challenge_cache.py | Removes shared challenge-cache implementation. |
| sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_shared/http_challenge.py | Removes shared challenge parser. |
| sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_shared/client_base.py | Removes shared base client + API version handling. |
| sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_shared/challenge_auth_policy.py | Removes sync challenge auth policy implementation. |
| sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_shared/async_client_base.py | Removes async base client implementation. |
| sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_shared/async_challenge_auth_policy.py | Removes async challenge auth policy implementation. |
| sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_shared/_polling_async.py | Removes async polling method implementation. |
| sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_shared/_polling.py | Removes sync polling method + poller wrapper implementation. |
| sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_shared/init.py | Removes shared exports and parse_key_vault_id helpers. |
| sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_sdk_moniker.py | Removes moniker module previously tied to _version.py. |
| sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_models.py | Removes convenience model layer (KeyVaultSecret, DeletedSecret, etc.). |
| sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_generated/models/_patch.py | Updates generated patch stub + modern typing. |
| sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_generated/models/_models.py | Regenerates models (adds previous_version, modern typing, etc.). |
| sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_generated/models/_enums.py | Adds ContentType enum; docstring punctuation tweaks. |
| sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_generated/models/init.py | Re-exports ContentType and updates __all__. |
| sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_generated/aio/_vendor.py | Removes vendor ABC typing helper. |
| sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_generated/aio/_patch.py | Updates generated patch stub + modern typing. |
| sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_generated/aio/_operations/_patch.py | Updates generated patch stub + modern typing. |
| sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_generated/aio/_operations/_operations.py | Regenerates async ops: adds decompress, out_content_type, api version validation, typing changes. |
| sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_generated/aio/_operations/init.py | Renames/export-adjusts ops mixin symbol. |
| sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_generated/aio/_configuration.py | Defaults api_version to 2025-07-01 and updates docs. |
| sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_generated/aio/_client.py | Updates aio client to use renamed ops mixin and new api_version docs. |
| sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_generated/_version.py | Bumps generated version to 4.11.0. |
| sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_generated/_vendor.py | Removes vendor ABC typing helper. |
| sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_generated/_validation.py | Adds generated API-version validation decorator. |
| sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_generated/_utils/serialization.py | Refactors serialization/deserialization internals and typing; removes eval usage. |
| sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_generated/_utils/model_base.py | Replaces removed _model_base.py with expanded model base logic and encoding support. |
| sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_generated/_patch.py | Updates generated patch stub + modern typing. |
| sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_generated/_operations/_patch.py | Updates generated patch stub + modern typing. |
| sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_generated/_operations/_operations.py | Regenerates sync ops: adds decompress, out_content_type, api version validation, typing changes. |
| sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_generated/_operations/init.py | Renames/export-adjusts ops mixin symbol. |
| sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_generated/_configuration.py | Defaults api_version to 2025-07-01 and updates docs. |
| sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_generated/_client.py | Updates sync client to use renamed ops mixin and new api_version docs. |
| sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_client.py | Removes sync convenience SecretClient implementation. |
| sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/init.py | Changes to namespace-package-only initializer. |
| sdk/keyvault/azure-keyvault-secrets/azure/keyvault/init.py | Changes to namespace package initializer. |
| sdk/keyvault/azure-keyvault-secrets/azure/init.py | Changes to namespace package initializer. |
| sdk/keyvault/azure-keyvault-secrets/apiview-properties.json | Adds APIView cross-language mapping metadata. |
| sdk/keyvault/azure-keyvault-secrets/_metadata.json | Adds generation metadata (apiVersion, emitterVersion, spec commit, etc.). |
| sdk/keyvault/azure-keyvault-secrets/MANIFEST.in | Updates included py.typed path and package init inclusion. |
| sdk/keyvault/azure-keyvault-secrets/CHANGELOG.md | Adds 4.11.0 entry (currently placeholder) above existing history. |
- Restore copyright headers in azure/__init__.py and azure/keyvault/__init__.py - Recreate sdk_packaging.toml (auto_update = false) - Revert pyproject.toml formatting to match main branch style - Fix MANIFEST.in py.typed path back to azure/keyvault/secrets/py.typed
Contributor
API Change CheckAPIView identified API level changes in this PR and created the following API reviews |
laiapat
reviewed
Mar 30, 2026
melissamserv
approved these changes
Mar 31, 2026
laiapat
approved these changes
Mar 31, 2026
Contributor
|
/check-enforcer override |
fafhrd91
pushed a commit
to fafhrd91/azure-sdk-for-python
that referenced
this pull request
Apr 28, 2026
…n-6063244 (Azure#45913) * Configurations: 'specification/keyvault/data-plane/Secrets/tspconfig.yaml', API Version: 2025-07-01, SDK Release Type: stable, and CommitSHA: '942c8b2fd38b3be3f322e219c97c5c3a75f2e97b' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6063244 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. * Restore handwritten keyvault secrets layer * Revert unnecessary auto-gen packaging changes - Restore copyright headers in azure/__init__.py and azure/keyvault/__init__.py - Recreate sdk_packaging.toml (auto_update = false) - Revert pyproject.toml formatting to match main branch style - Fix MANIFEST.in py.typed path back to azure/keyvault/secrets/py.typed * Fix changelog: remove obsolete 4.10.1 unreleased section and update release date * Clean up auto-gen artifacts: remove setup.py, fix typo and trailing space * Address review comments: CHANGELOG sub-bullets and ContentType enum for out_content_type * Use ContentType enum in tests instead of hardcoded strings --------- Co-authored-by: Rohit Singhal <singhalrohit@microsoft.com> Co-authored-by: ROHIT SINGHAL <rohitsinghal4u@gmail.com>
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/Secrets/tspconfig.yaml', API Version: 2025-07-01, SDK Release Type: stable, and CommitSHA: '942c8b2fd38b3be3f322e219c97c5c3a75f2e97b' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6063244 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release.