[AutoPR azure-mgmt-selfhelp]-generated-from-SDK Generation - Python-6528630#47890
Merged
Conversation
…elp/tspconfig.yaml', API Version: 2024-03-01-preview, SDK Release Type: beta, and CommitSHA: 'a7bdbe741c0ef1f1b159d8569b173757bd823ae9' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6527985 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 PR refreshes azure-mgmt-selfhelp after migrating the SDK from legacy AutoRest generation to TypeSpec/Python Code Generator for API version 2024-03-01-preview (beta). The update modernizes packaging (PEP 517/518 pyproject.toml), updates generated client/code artifacts, and bumps the package version to 2.0.0b5.
Changes:
- Migrate packaging from
setup.py/sdk_packaging.tomltopyproject.tomland update docs/manifests accordingly. - Regenerate management clients/models/operation groups for the TypeSpec emitter and add updated generated samples/tests scaffolding.
- Bump version + changelog for
2.0.0b5and add provenance metadata (tsp-location.yaml,_metadata.json, APIView metadata).
Reviewed changes
Copilot reviewed 92 out of 95 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| sdk/selfhelp/azure-mgmt-selfhelp/tsp-location.yaml | Records TypeSpec source location and spec commit for regeneration provenance. |
| sdk/selfhelp/azure-mgmt-selfhelp/tests/test_cli_mgmt_selfhelp.py | Minor formatting update to recorded test. |
| sdk/selfhelp/azure-mgmt-selfhelp/tests/conftest.py | Minor formatting update to test sanitizers. |
| sdk/selfhelp/azure-mgmt-selfhelp/setup.py | Removed legacy setuptools entrypoint (migrated to pyproject.toml). |
| sdk/selfhelp/azure-mgmt-selfhelp/sdk_packaging.toml | Removed legacy packaging config (migrated into pyproject.toml). |
| sdk/selfhelp/azure-mgmt-selfhelp/README.md | Updates stated supported Python version and authentication wording. |
| sdk/selfhelp/azure-mgmt-selfhelp/pyproject.toml | Adds PEP517/PEP621 packaging and embeds [packaging] metadata. |
| sdk/selfhelp/azure-mgmt-selfhelp/MANIFEST.in | Adjusts included files for sdist after packaging migration. |
| sdk/selfhelp/azure-mgmt-selfhelp/generated_tests/test_self_help_mgmt_troubleshooters_operations.py | New generated test scaffold (sync). |
| sdk/selfhelp/azure-mgmt-selfhelp/generated_tests/test_self_help_mgmt_troubleshooters_operations_async.py | New generated test scaffold (async). |
| sdk/selfhelp/azure-mgmt-selfhelp/generated_tests/test_self_help_mgmt_solution_self_help_operations.py | New generated test scaffold (sync). |
| sdk/selfhelp/azure-mgmt-selfhelp/generated_tests/test_self_help_mgmt_solution_self_help_operations_async.py | New generated test scaffold (async). |
| sdk/selfhelp/azure-mgmt-selfhelp/generated_tests/test_self_help_mgmt_solution_operations.py | New generated test scaffold (sync). |
| sdk/selfhelp/azure-mgmt-selfhelp/generated_tests/test_self_help_mgmt_solution_operations_async.py | New generated test scaffold (async). |
| sdk/selfhelp/azure-mgmt-selfhelp/generated_tests/test_self_help_mgmt_simplified_solutions_operations.py | New generated test scaffold (sync). |
| sdk/selfhelp/azure-mgmt-selfhelp/generated_tests/test_self_help_mgmt_simplified_solutions_operations_async.py | New generated test scaffold (async). |
| sdk/selfhelp/azure-mgmt-selfhelp/generated_tests/test_self_help_mgmt_operations.py | New generated test scaffold (sync). |
| sdk/selfhelp/azure-mgmt-selfhelp/generated_tests/test_self_help_mgmt_operations_async.py | New generated test scaffold (async). |
| sdk/selfhelp/azure-mgmt-selfhelp/generated_tests/test_self_help_mgmt_discovery_solution_operations.py | New generated test scaffold (sync). |
| sdk/selfhelp/azure-mgmt-selfhelp/generated_tests/test_self_help_mgmt_discovery_solution_operations_async.py | New generated test scaffold (async). |
| sdk/selfhelp/azure-mgmt-selfhelp/generated_tests/test_self_help_mgmt_discovery_solution_nlp_operations.py | New generated test scaffold (sync). |
| sdk/selfhelp/azure-mgmt-selfhelp/generated_tests/test_self_help_mgmt_discovery_solution_nlp_operations_async.py | New generated test scaffold (async). |
| sdk/selfhelp/azure-mgmt-selfhelp/generated_tests/test_self_help_mgmt_diagnostics_operations.py | New generated test scaffold (sync). |
| sdk/selfhelp/azure-mgmt-selfhelp/generated_tests/test_self_help_mgmt_diagnostics_operations_async.py | New generated test scaffold (async). |
| sdk/selfhelp/azure-mgmt-selfhelp/generated_tests/test_self_help_mgmt_check_name_availability_operations.py | New generated test scaffold (sync). |
| sdk/selfhelp/azure-mgmt-selfhelp/generated_tests/test_self_help_mgmt_check_name_availability_operations_async.py | New generated test scaffold (async). |
| sdk/selfhelp/azure-mgmt-selfhelp/generated_tests/conftest.py | Adds generated test sanitizers configuration. |
| sdk/selfhelp/azure-mgmt-selfhelp/generated_samples/troubleshooter_restart.py | Regenerated sample (TypeSpec codegen). |
| sdk/selfhelp/azure-mgmt-selfhelp/generated_samples/troubleshooter_get.py | Regenerated sample (TypeSpec codegen). |
| sdk/selfhelp/azure-mgmt-selfhelp/generated_samples/troubleshooter_end.py | Regenerated sample (TypeSpec codegen). |
| sdk/selfhelp/azure-mgmt-selfhelp/generated_samples/troubleshooter_create.py | Regenerated sample (TypeSpec codegen). |
| sdk/selfhelp/azure-mgmt-selfhelp/generated_samples/troubleshooter_continue.py | Regenerated sample (TypeSpec codegen). |
| sdk/selfhelp/azure-mgmt-selfhelp/generated_samples/solution_warm_up.py | Regenerated sample (TypeSpec codegen). |
| sdk/selfhelp/azure-mgmt-selfhelp/generated_samples/solution_update.py | Regenerated sample (TypeSpec codegen). |
| sdk/selfhelp/azure-mgmt-selfhelp/generated_samples/solution_get.py | Regenerated sample (TypeSpec codegen). |
| sdk/selfhelp/azure-mgmt-selfhelp/generated_samples/solution_create.py | Regenerated sample (TypeSpec codegen). |
| sdk/selfhelp/azure-mgmt-selfhelp/generated_samples/simplified_solutions_get.py | Regenerated sample (TypeSpec codegen). |
| sdk/selfhelp/azure-mgmt-selfhelp/generated_samples/simplified_solutions_create.py | Regenerated sample (TypeSpec codegen). |
| sdk/selfhelp/azure-mgmt-selfhelp/generated_samples/self_help_solution_get.py | Regenerated sample (TypeSpec codegen). |
| sdk/selfhelp/azure-mgmt-selfhelp/generated_samples/list_operations.py | Regenerated sample (TypeSpec codegen). |
| sdk/selfhelp/azure-mgmt-selfhelp/generated_samples/list_discovery_solutions_at_tenant_scope.py | Regenerated sample (TypeSpec codegen). |
| sdk/selfhelp/azure-mgmt-selfhelp/generated_samples/get_diagnostic_for_key_vault_resource.py | Regenerated sample (TypeSpec codegen). |
| sdk/selfhelp/azure-mgmt-selfhelp/generated_samples/discover_solutions_at_tenant_scope.py | Regenerated sample (TypeSpec codegen). |
| sdk/selfhelp/azure-mgmt-selfhelp/generated_samples/discover_solutions_at_subscription_scope.py | Regenerated sample (TypeSpec codegen). |
| sdk/selfhelp/azure-mgmt-selfhelp/generated_samples/create_diagnostic_for_key_vault_resource.py | Regenerated sample (TypeSpec codegen). |
| sdk/selfhelp/azure-mgmt-selfhelp/generated_samples/check_name_availability_for_diagnostic_when_name_is_not_available.py | Regenerated sample (TypeSpec codegen). |
| sdk/selfhelp/azure-mgmt-selfhelp/generated_samples/check_name_availability_for_diagnostic_when_name_is_available.py | Regenerated sample (TypeSpec codegen). |
| sdk/selfhelp/azure-mgmt-selfhelp/CHANGELOG.md | Adds 2.0.0b5 release notes for TypeSpec refresh. |
| sdk/selfhelp/azure-mgmt-selfhelp/azure/mgmt/selfhelp/operations/_solution_self_help_operations.py | Removes legacy AutoRest operation-group implementation (replaced by consolidated _operations.py). |
| sdk/selfhelp/azure-mgmt-selfhelp/azure/mgmt/selfhelp/operations/_patch.py | Updates customization stub header/typing for new generator. |
| sdk/selfhelp/azure-mgmt-selfhelp/azure/mgmt/selfhelp/operations/_discovery_solution_operations.py | Removes legacy AutoRest operation-group implementation. |
| sdk/selfhelp/azure-mgmt-selfhelp/azure/mgmt/selfhelp/operations/_discovery_solution_nlp_operations.py | Removes legacy AutoRest operation-group implementation. |
| sdk/selfhelp/azure-mgmt-selfhelp/azure/mgmt/selfhelp/operations/_diagnostics_operations.py | Removes legacy AutoRest operation-group implementation. |
| sdk/selfhelp/azure-mgmt-selfhelp/azure/mgmt/selfhelp/operations/_check_name_availability_operations.py | Removes legacy AutoRest operation-group implementation. |
| sdk/selfhelp/azure-mgmt-selfhelp/azure/mgmt/selfhelp/operations/init.py | Updates operation exports to new consolidated operations module. |
| sdk/selfhelp/azure-mgmt-selfhelp/azure/mgmt/selfhelp/models/_patch.py | Updates customization stub header/typing for new generator. |
| sdk/selfhelp/azure-mgmt-selfhelp/azure/mgmt/selfhelp/models/_enums.py | Regenerates enums with updated docstrings/values under new generator. |
| sdk/selfhelp/azure-mgmt-selfhelp/azure/mgmt/selfhelp/models/init.py | Updates model exports/import wiring for new generator layout. |
| sdk/selfhelp/azure-mgmt-selfhelp/azure/mgmt/selfhelp/aio/operations/_solution_self_help_operations.py | Removes legacy AutoRest async operation-group implementation. |
| sdk/selfhelp/azure-mgmt-selfhelp/azure/mgmt/selfhelp/aio/operations/_simplified_solutions_operations.py | Removes legacy AutoRest async operation-group implementation. |
| sdk/selfhelp/azure-mgmt-selfhelp/azure/mgmt/selfhelp/aio/operations/_patch.py | Updates customization stub header/typing for new generator. |
| sdk/selfhelp/azure-mgmt-selfhelp/azure/mgmt/selfhelp/aio/operations/_discovery_solution_operations.py | Removes legacy AutoRest async operation-group implementation. |
| sdk/selfhelp/azure-mgmt-selfhelp/azure/mgmt/selfhelp/aio/operations/_discovery_solution_nlp_operations.py | Removes legacy AutoRest async operation-group implementation. |
| sdk/selfhelp/azure-mgmt-selfhelp/azure/mgmt/selfhelp/aio/operations/_diagnostics_operations.py | Removes legacy AutoRest async operation-group implementation. |
| sdk/selfhelp/azure-mgmt-selfhelp/azure/mgmt/selfhelp/aio/operations/_check_name_availability_operations.py | Removes legacy AutoRest async operation-group implementation. |
| sdk/selfhelp/azure-mgmt-selfhelp/azure/mgmt/selfhelp/aio/operations/init.py | Updates async operation exports to new consolidated operations module. |
| sdk/selfhelp/azure-mgmt-selfhelp/azure/mgmt/selfhelp/aio/_patch.py | Updates async customization stub header/typing for new generator. |
| sdk/selfhelp/azure-mgmt-selfhelp/azure/mgmt/selfhelp/aio/_configuration.py | Regenerated async client configuration (cloud/endpoint support). |
| sdk/selfhelp/azure-mgmt-selfhelp/azure/mgmt/selfhelp/aio/_client.py | Regenerated async client entrypoint (cloud/endpoint support, send_request). |
| sdk/selfhelp/azure-mgmt-selfhelp/azure/mgmt/selfhelp/aio/init.py | Updates async package exports to new client module. |
| sdk/selfhelp/azure-mgmt-selfhelp/azure/mgmt/selfhelp/_version.py | Bumps package version to 2.0.0b5. |
| sdk/selfhelp/azure-mgmt-selfhelp/azure/mgmt/selfhelp/_utils/init.py | Removes legacy request conversion helper used by old generator. |
| sdk/selfhelp/azure-mgmt-selfhelp/azure/mgmt/selfhelp/_patch.py | Updates customization stub header/typing for new generator. |
| sdk/selfhelp/azure-mgmt-selfhelp/azure/mgmt/selfhelp/_configuration.py | Regenerated client configuration (cloud/endpoint support). |
| sdk/selfhelp/azure-mgmt-selfhelp/azure/mgmt/selfhelp/_client.py | Regenerated client entrypoint (cloud/endpoint support, send_request). |
| sdk/selfhelp/azure-mgmt-selfhelp/azure/mgmt/selfhelp/init.py | Updates package exports to new client module. |
| sdk/selfhelp/azure-mgmt-selfhelp/azure/mgmt/init.py | Adds typing ignore for namespace package path extension. |
| sdk/selfhelp/azure-mgmt-selfhelp/azure/init.py | Adds typing ignore for namespace package path extension. |
| sdk/selfhelp/azure-mgmt-selfhelp/apiview-properties.json | Adds APIView cross-language mapping properties for the new API surface. |
| sdk/selfhelp/azure-mgmt-selfhelp/api.metadata.yml | Adds APIView metadata (parser/version/hash) for api.md consistency checks. |
| sdk/selfhelp/azure-mgmt-selfhelp/_metadata.json | Adds TypeSpec/emitter provenance metadata for the generated SDK. |
| sdk/selfhelp/azure-mgmt-selfhelp/_meta.json | Removes legacy AutoRest metadata file. |
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
…elp/tspconfig.yaml', API Version: 2024-03-01-preview, SDK Release Type: beta, and CommitSHA: '88976ab9ea9fb7f69533fbd465540060bd1f225a' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6528630 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
msyyc
approved these changes
Jul 7, 2026
ChenxiJiang333
approved these changes
Jul 8, 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.
Configurations: 'specification/help/resource-manager/Microsoft.Help/Help/tspconfig.yaml', API Version: 2024-03-01-preview, SDK Release Type: beta, and CommitSHA: '88976ab9ea9fb7f69533fbd465540060bd1f225a' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6528630 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release.