[AutoPR azure-mgmt-kubernetesconfiguration-extensions]-generated-from-SDK Generation - Python-6014614#45712
Open
azure-sdk wants to merge 5 commits intoAzure:mainfrom
Conversation
…er/Microsoft.KubernetesConfiguration/extensions/tspconfig.yaml', API Version: 2024-11-01, SDK Release Type: stable, and CommitSHA: 'bf2f971b4319da9f5624da7f3c13d487be477897' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6014614 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
Regenerates azure-mgmt-kubernetesconfiguration-extensions from the TypeSpec source for API version 2024-11-01 (stable), updating the package to the newer Python code generator output (hybrid models/operations) and modern packaging metadata.
Changes:
- Migrate packaging metadata from
setup.py/sdk_packaging.tomltopyproject.tomland update release/versioning to1.0.0. - Regenerate client/operations/models to the new generator shape (hybrid models, consolidated ops modules,
send_request,cloud_settingsupport). - Refresh generated samples/tests and repository metadata files (
tsp-location.yaml,_metadata.json, API view props).
Reviewed changes
Copilot reviewed 50 out of 50 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensions/tsp-location.yaml | Records TypeSpec source location and commit for regeneration traceability. |
| sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensions/setup.py | Removed legacy setup.py packaging entrypoint. |
| sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensions/sdk_packaging.toml | Removed legacy packaging config (moved into pyproject.toml). |
| sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensions/pyproject.toml | New packaging/config metadata (PEP 517/518) + [packaging] section. |
| sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensions/generated_tests/conftest.py | Regenerated test harness header updates. |
| sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensions/generated_tests/test_kubernetes_configuration_extensions_mgmt_operation_status_operations_async.py | Regenerated async operation-status test (api_version kwarg removed). |
| sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensions/generated_tests/test_kubernetes_configuration_extensions_mgmt_operation_status_operations.py | Regenerated sync operation-status test (api_version kwarg removed). |
| sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensions/generated_tests/test_kubernetes_configuration_extensions_mgmt_extensions_operations_async.py | Regenerated async extensions tests (new get/update shapes). |
| sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensions/generated_tests/test_kubernetes_configuration_extensions_mgmt_extensions_operations.py | Regenerated sync extensions tests (new get/update shapes). |
| sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensions/generated_samples/patch_extension.py | Regenerated sample (subscription placeholder + x-ms-original-file path). |
| sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensions/generated_samples/list_extensions.py | Regenerated sample (subscription placeholder + x-ms-original-file path). |
| sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensions/generated_samples/get_extension_with_plan.py | Regenerated sample (subscription placeholder + x-ms-original-file path). |
| sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensions/generated_samples/get_extension_async_operation_status.py | Regenerated sample (subscription placeholder + x-ms-original-file path). |
| sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensions/generated_samples/get_extension.py | Regenerated sample (subscription placeholder + x-ms-original-file path). |
| sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensions/generated_samples/delete_extension.py | Regenerated sample (subscription placeholder + x-ms-original-file path). |
| sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensions/generated_samples/create_extension_with_plan.py | Regenerated sample (subscription placeholder + x-ms-original-file path). |
| sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensions/generated_samples/create_extension.py | Regenerated sample (subscription placeholder + x-ms-original-file path). |
| sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensions/azure/mgmt/kubernetesconfiguration/extensions/operations/_patch.py | Patch hook updated typing style. |
| sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensions/azure/mgmt/kubernetesconfiguration/extensions/operations/_operation_status_operations.py | Removed legacy per-operation module (moved into consolidated ops). |
| sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensions/azure/mgmt/kubernetesconfiguration/extensions/operations/init.py | Updated exports to consolidated operations module. |
| sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensions/azure/mgmt/kubernetesconfiguration/extensions/models/_patch.py | Patch hook updated typing style. |
| sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensions/azure/mgmt/kubernetesconfiguration/extensions/models/_models_py3.py | Removed legacy model definitions file. |
| sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensions/azure/mgmt/kubernetesconfiguration/extensions/models/_models.py | New hybrid-model definitions (rest_field-based models). |
| sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensions/azure/mgmt/kubernetesconfiguration/extensions/models/_enums.py | Enum definitions updated/expanded (docstrings + new enum). |
| sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensions/azure/mgmt/kubernetesconfiguration/extensions/models/init.py | Updated model exports to new model/enums modules. |
| sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensions/azure/mgmt/kubernetesconfiguration/extensions/aio/operations/_patch.py | Patch hook updated typing style. |
| sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensions/azure/mgmt/kubernetesconfiguration/extensions/aio/operations/_operations.py | Consolidated async operations implementation + new request building/serialization path. |
| sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensions/azure/mgmt/kubernetesconfiguration/extensions/aio/operations/_operation_status_operations.py | Removed legacy async operation-status module (now in consolidated ops). |
| sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensions/azure/mgmt/kubernetesconfiguration/extensions/aio/operations/init.py | Updated exports to consolidated async operations module. |
| sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensions/azure/mgmt/kubernetesconfiguration/extensions/aio/_patch.py | Patch hook updated typing style. |
| sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensions/azure/mgmt/kubernetesconfiguration/extensions/aio/_configuration.py | Async client configuration updated (base_url/cloud_setting support). |
| sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensions/azure/mgmt/kubernetesconfiguration/extensions/aio/_client.py | Async client updated (cloud_setting + public send_request + endpoint formatting). |
| sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensions/azure/mgmt/kubernetesconfiguration/extensions/aio/init.py | Async package init updated to import new _client. |
| sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensions/azure/mgmt/kubernetesconfiguration/extensions/_version.py | Bumped version to stable 1.0.0. |
| sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensions/azure/mgmt/kubernetesconfiguration/extensions/_utils/serialization.py | Serialization utilities updated for new generator output. |
| sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensions/azure/mgmt/kubernetesconfiguration/extensions/_utils/model_base.py | Added hybrid model base + (de)serialization helpers used by new models/ops. |
| sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensions/azure/mgmt/kubernetesconfiguration/extensions/_utils/init.py | Generator header updates. |
| sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensions/azure/mgmt/kubernetesconfiguration/extensions/_patch.py | Patch hook updated typing style. |
| sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensions/azure/mgmt/kubernetesconfiguration/extensions/_configuration.py | Sync client configuration updated (base_url/cloud_setting support). |
| sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensions/azure/mgmt/kubernetesconfiguration/extensions/_client.py | Sync client updated (cloud_setting + public send_request + endpoint formatting). |
| sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensions/azure/mgmt/kubernetesconfiguration/extensions/init.py | Package init updated to import new _client. |
| sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensions/azure/mgmt/kubernetesconfiguration/init.py | Namespace package typing ignore added. |
| sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensions/azure/mgmt/init.py | Namespace package typing ignore added. |
| sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensions/azure/init.py | Namespace package typing ignore added. |
| sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensions/apiview-properties.json | Added APIView cross-language mapping metadata for review tooling. |
| sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensions/_metadata.json | Added new-generation metadata (apiVersion, commit, emitter version). |
| sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensions/_meta.json | Removed legacy autorest metadata file. |
| sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensions/MANIFEST.in | Updated sdist manifest for new packaging layout. |
| sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensions/CHANGELOG.md | Added 1.0.0 stable release notes + migration notes for hybrid models/ops. |
sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration-extensions/pyproject.toml
Show resolved
Hide resolved
|
|
||
| ### Features Added | ||
|
|
||
| - Model `KubernetesConfigurationExtensionsMgmtClient` added parameter `cloud_setting` in method `__init__` |
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/kubernetesconfiguration/resource-manager/Microsoft.KubernetesConfiguration/extensions/tspconfig.yaml', API Version: 2024-11-01, SDK Release Type: stable, and CommitSHA: 'bf2f971b4319da9f5624da7f3c13d487be477897' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6014614 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release.