Skip to content

[AutoPR azure-keyvault-secrets]-generated-from-SDK Generation - Python-6063244#45913

Merged
rohitsinghal4u merged 10 commits into
mainfrom
sdkauto/azure-keyvault-secrets-6063244
Mar 31, 2026
Merged

[AutoPR azure-keyvault-secrets]-generated-from-SDK Generation - Python-6063244#45913
rohitsinghal4u merged 10 commits into
mainfrom
sdkauto/azure-keyvault-secrets-6063244

Conversation

@azure-sdk
Copy link
Copy Markdown
Collaborator

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.

@rohitsinghal4u rohitsinghal4u marked this pull request as ready for review March 25, 2026 19:52
@rohitsinghal4u rohitsinghal4u requested a review from a team as a code owner March 25, 2026 19:52
Copilot AI review requested due to automatic review settings March 25, 2026 19:52
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

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 _generated client/models (including new API surface like out_content_type and ContentType).
  • 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.

Comment thread sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/__init__.py Outdated
Comment thread sdk/keyvault/azure-keyvault-secrets/pyproject.toml Outdated
Comment thread sdk/keyvault/azure-keyvault-secrets/setup.py Outdated
Comment thread sdk/keyvault/azure-keyvault-secrets/CHANGELOG.md Outdated
Comment thread sdk/keyvault/azure-keyvault-secrets/tsp-location.yaml Outdated
- 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
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 27, 2026

API Change Check

APIView identified API level changes in this PR and created the following API reviews

azure-keyvault-secrets

Comment thread sdk/keyvault/azure-keyvault-secrets/CHANGELOG.md Outdated
Comment thread sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_client.py Outdated
@rohitsinghal4u rohitsinghal4u enabled auto-merge (squash) March 31, 2026 00:21
@rohitsinghal4u
Copy link
Copy Markdown
Contributor

/check-enforcer override

@rohitsinghal4u rohitsinghal4u merged commit 324c364 into main Mar 31, 2026
18 of 20 checks passed
@rohitsinghal4u rohitsinghal4u deleted the sdkauto/azure-keyvault-secrets-6063244 branch March 31, 2026 01:07
@github-project-automation github-project-automation Bot moved this from Untriaged to Done in Azure SDK for Key Vault Mar 31, 2026
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>
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.

6 participants