[AutoPR azure-mgmt-networkfunction]-generated-from-SDK Generation - Python-5991978#45641
Open
azure-sdk wants to merge 8 commits intoAzure:mainfrom
Open
[AutoPR azure-mgmt-networkfunction]-generated-from-SDK Generation - Python-5991978#45641azure-sdk wants to merge 8 commits intoAzure:mainfrom
azure-sdk wants to merge 8 commits intoAzure:mainfrom
Conversation
…ment/tspconfig.yaml', API Version: 2022-11-01, SDK Release Type: stable, and CommitSHA: '63cb8f987d0d5fb94e781d000c7f7fc7a4a69842' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=5991978 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 updates azure-mgmt-networkfunction using the latest TypeSpec-based Python code generator pipeline for API version 2022-11-01, including modernized packaging and regenerated clients/models/operations.
Changes:
- Migrates the package from legacy AutoRest output to the new Python code generator structure (new client/config patterns, consolidated operations, new model base/serialization approach).
- Moves packaging from
setup.py/sdk_packaging.tomltopyproject.toml, updates metadata, and bumps version to1.0.0b2. - Adds/updates generated samples and adds live-test-only tests for key operations (sync + async).
Reviewed changes
Copilot reviewed 77 out of 77 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| sdk/networkfunction/azure-mgmt-networkfunction/pyproject.toml | Switches to PEP 517/518 packaging and consolidates packaging metadata. |
| sdk/networkfunction/azure-mgmt-networkfunction/azure/mgmt/networkfunction/_client.py | Regenerated sync client with new pipeline/policies and send_request surface. |
| sdk/networkfunction/azure-mgmt-networkfunction/azure/mgmt/networkfunction/aio/_client.py | Regenerated async client with new pipeline/policies and send_request. |
| sdk/networkfunction/azure-mgmt-networkfunction/azure/mgmt/networkfunction/models/_models.py | Regenerated models using the new model base + flattened property handling. |
| sdk/networkfunction/azure-mgmt-networkfunction/azure/mgmt/networkfunction/operations/_operations.py | Consolidated regenerated operation implementations. |
| sdk/networkfunction/azure-mgmt-networkfunction/tests/by_subscription_test.py | Adds live-test-only list tests (currently includes brittle “must be empty” assertions). |
| sdk/networkfunction/azure-mgmt-networkfunction/CHANGELOG.md | Documents beta bump and generator-driven breaking changes/new features. |
| sdk/networkfunction/azure-mgmt-networkfunction/tsp-location.yaml | Tracks the TypeSpec source/commit used for generation. |
...ests/test_traffic_collector_mgmt_azure_traffic_collectors_by_subscription_operations_test.py
Show resolved
Hide resolved
...est_traffic_collector_mgmt_azure_traffic_collectors_by_subscription_operations_async_test.py
Show resolved
Hide resolved
msyyc
reviewed
Mar 13, 2026
msyyc
approved these changes
Mar 13, 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/networkfunction/NetworkFunction.Management/tspconfig.yaml', API Version: 2022-11-01, SDK Release Type: stable, and CommitSHA: '63cb8f987d0d5fb94e781d000c7f7fc7a4a69842' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=5991978 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release.