[AutoPR azure-mgmt-napsteromniagentapi]-generated-from-SDK Generation - Python-6696943 - #48542
[AutoPR azure-mgmt-napsteromniagentapi]-generated-from-SDK Generation - Python-6696943#48542azure-sdk-automation[bot] wants to merge 7 commits into
Conversation
…t/tspconfig.yaml', SDK Release Type: stable, and CommitSHA: '62e014fd7bf63f5d4907254a47c291e2d6087e3c' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6690002 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release.
|
Azure Pipelines: Successfully started running 1 pipeline(s). 9 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
There was a problem hiding this comment.
Pull request overview
Note
Copilot could not run the full agentic suite for this review because it was automatically requested on a bot-authored pull request. Request a review from Copilot under Reviewers to retry with the full agentic suite. Improved support for bot-authored pull requests is coming soon.
This PR updates the azure-mgmt-napsteromniagentapi Python SDK to a new stable release, aligning it to the latest service API version and improving typing/serialization support.
Changes:
- Bump API version from
2025-12-24-previewto2026-08-11across client/operations, samples, and metadata. - Mark the package as stable (
1.0.0,is_stable = true, stable PyPI classifier) and add new API surface docs/metadata. - Introduce
azure.mgmt.napsteromniagentapi.typesTypedDictrequest/response shapes and extend serialization to support numeric duration encodings.
Reviewed changes
Copilot reviewed 32 out of 32 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| sdk/napsteromniagentapi/azure-mgmt-napsteromniagentapi/tsp-location.yaml | Updates the source swagger/spec commit pointer used for generation. |
| sdk/napsteromniagentapi/azure-mgmt-napsteromniagentapi/pyproject.toml | Marks the package as production/stable and sets is_stable = true. |
| sdk/napsteromniagentapi/azure-mgmt-napsteromniagentapi/generated_samples/saa_soperation_group_activate_resource_minimum_set_gen.py | Updates sample provenance to the new API version folder. |
| sdk/napsteromniagentapi/azure-mgmt-napsteromniagentapi/generated_samples/saa_soperation_group_activate_resource_maximum_set_gen.py | Updates sample provenance to the new API version folder. |
| sdk/napsteromniagentapi/azure-mgmt-napsteromniagentapi/generated_samples/organizations_update_maximum_set_gen.py | Updates sample provenance to the new API version folder. |
| sdk/napsteromniagentapi/azure-mgmt-napsteromniagentapi/generated_samples/organizations_list_by_subscription_minimum_set_gen.py | Updates sample provenance to the new API version folder. |
| sdk/napsteromniagentapi/azure-mgmt-napsteromniagentapi/generated_samples/organizations_list_by_subscription_maximum_set_gen.py | Updates sample provenance to the new API version folder. |
| sdk/napsteromniagentapi/azure-mgmt-napsteromniagentapi/generated_samples/organizations_list_by_resource_group_minimum_set_gen.py | Updates sample provenance to the new API version folder. |
| sdk/napsteromniagentapi/azure-mgmt-napsteromniagentapi/generated_samples/organizations_list_by_resource_group_maximum_set_gen.py | Updates sample provenance to the new API version folder. |
| sdk/napsteromniagentapi/azure-mgmt-napsteromniagentapi/generated_samples/organizations_link_saa_s_maximum_set_gen.py | Updates sample provenance to the new API version folder. |
| sdk/napsteromniagentapi/azure-mgmt-napsteromniagentapi/generated_samples/organizations_latest_linked_saa_s_maximum_set_gen.py | Updates sample provenance to the new API version folder. |
| sdk/napsteromniagentapi/azure-mgmt-napsteromniagentapi/generated_samples/organizations_get_maximum_set_gen.py | Updates sample provenance to the new API version folder. |
| sdk/napsteromniagentapi/azure-mgmt-napsteromniagentapi/generated_samples/organizations_delete_maximum_set_gen.py | Updates sample provenance to the new API version folder. |
| sdk/napsteromniagentapi/azure-mgmt-napsteromniagentapi/generated_samples/organizations_create_or_update_maximum_set_gen.py | Updates sample provenance to the new API version folder. |
| sdk/napsteromniagentapi/azure-mgmt-napsteromniagentapi/generated_samples/operations_list_minimum_set_gen.py | Updates sample provenance to the new API version folder. |
| sdk/napsteromniagentapi/azure-mgmt-napsteromniagentapi/generated_samples/operations_list_maximum_set_gen.py | Updates sample provenance to the new API version folder. |
| sdk/napsteromniagentapi/azure-mgmt-napsteromniagentapi/azure/mgmt/napsteromniagentapi/types.py | Adds TypedDict request/response types to improve typing and dict-based inputs. |
| sdk/napsteromniagentapi/azure-mgmt-napsteromniagentapi/azure/mgmt/napsteromniagentapi/operations/_operations.py | Updates default API version and accepts both model and TypedDict inputs for bodies. |
| sdk/napsteromniagentapi/azure-mgmt-napsteromniagentapi/azure/mgmt/napsteromniagentapi/models/_models.py | Adjusts pylint suppression for generated model docstring keyword checks. |
| sdk/napsteromniagentapi/azure-mgmt-napsteromniagentapi/azure/mgmt/napsteromniagentapi/aio/operations/_operations.py | Async operations updated similarly for new types and API version. |
| sdk/napsteromniagentapi/azure-mgmt-napsteromniagentapi/azure/mgmt/napsteromniagentapi/aio/_configuration.py | Async client config updated to API version 2026-08-11 and docstring/pylint tweaks. |
| sdk/napsteromniagentapi/azure-mgmt-napsteromniagentapi/azure/mgmt/napsteromniagentapi/aio/_client.py | Async client docstring/pylint tweaks for generated keyword consistency. |
| sdk/napsteromniagentapi/azure-mgmt-napsteromniagentapi/azure/mgmt/napsteromniagentapi/_version.py | Bumps package version from beta to stable (1.0.0). |
| sdk/napsteromniagentapi/azure-mgmt-napsteromniagentapi/azure/mgmt/napsteromniagentapi/_utils/serialization.py | Adds new duration numeric (seconds/milliseconds) serializer/deserializer formats. |
| sdk/napsteromniagentapi/azure-mgmt-napsteromniagentapi/azure/mgmt/napsteromniagentapi/_utils/model_base.py | Enhances JSON encoding/decoding (duration formats + bool-from-string). |
| sdk/napsteromniagentapi/azure-mgmt-napsteromniagentapi/azure/mgmt/napsteromniagentapi/_configuration.py | Sync client config updated to API version 2026-08-11 and docstring/pylint tweaks. |
| sdk/napsteromniagentapi/azure-mgmt-napsteromniagentapi/azure/mgmt/napsteromniagentapi/_client.py | Sync client docstring/pylint tweaks for generated keyword consistency. |
| sdk/napsteromniagentapi/azure-mgmt-napsteromniagentapi/apiview-properties.json | Updates cross-language version metadata for APIView. |
| sdk/napsteromniagentapi/azure-mgmt-napsteromniagentapi/api.metadata.yml | Adds API MD hash and generator environment metadata. |
| sdk/napsteromniagentapi/azure-mgmt-napsteromniagentapi/api.md | Adds generated API surface documentation including new types module. |
| sdk/napsteromniagentapi/azure-mgmt-napsteromniagentapi/_metadata.json | Updates API version/commit + generator versions used for the package. |
| sdk/napsteromniagentapi/azure-mgmt-napsteromniagentapi/CHANGELOG.md | Adds a 1.0.0 entry for the stable release. |
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
[Pilot] PR Pipeline Failure AnalysisA CI pipeline failed on this pull request. Here is an automated analysis of what went wrong and how to get the build green. What failedThe The changelog entry for version Recommended next steps
## 1.0.0 (2026-08-12)
### Features Added
- Initial release of `azure-mgmt-napsteromniagentapi`.
Raw pipeline analysis (azsdk ci analyze)
|
|
Hi, the new api version |
There was a problem hiding this comment.
Hi Nikhil Gupta (@nikhgup), we have approved the PR. You can move on to merge and release though the action suggestion in Release Plan.
…t/tspconfig.yaml', SDK Release Type: stable, and CommitSHA: 'e9b8d33567e9422a09711667279fe178fada51a1' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6696943 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 32 out of 32 changed files in this pull request and generated 1 comment.
Suppressed comments (3)
sdk/napsteromniagentapi/azure-mgmt-napsteromniagentapi/azure/mgmt/napsteromniagentapi/_utils/model_base.py:356
_deserialize_bool_as_strassumesattris a string and calls.lower(). If a non-string slips through (e.g., numbers,None, or other JSON types), this will raise anAttributeError. Consider normalizing withstr(attr).lower()(and/or handlingNoneexplicitly) or raising aValueError/TypeErrorwith a clear message for unsupported input types.
def _deserialize_bool_as_str(attr):
if isinstance(attr, bool):
return attr
return attr.lower() == "true"
sdk/napsteromniagentapi/azure-mgmt-napsteromniagentapi/CHANGELOG.md:6
- The new 1.0.0 section contains a placeholder line. For a GA release, this should be replaced with actual release notes (e.g., API version bump to 2026-08-11, stabilization/GA markers, and any notable public surface changes like introduction of
azure.mgmt.napsteromniagentapi.types).
## 1.0.0 (2026-08-13)
tool can't generate changelog for this release, please update manually.
sdk/napsteromniagentapi/azure-mgmt-napsteromniagentapi/api.md:110
- The API surface doc contains duplicate
@overloadentries with identical signatures, which makes the rendered API harder to read and can confuse consumers. If this is generator output, it’s worth fixing at the generation step so only distinct overloads are emitted.
@overload
async def begin_create_or_update(
self,
resource_group_name: str,
organizationname: str,
resource: OrganizationResource,
*,
content_type: str = "application/json",
**kwargs: Any
) -> AsyncLROPoller[OrganizationResource]: ...
@overload
async def begin_create_or_update(
self,
resource_group_name: str,
organizationname: str,
resource: OrganizationResource,
*,
content_type: str = "application/json",
**kwargs: Any
) -> AsyncLROPoller[OrganizationResource]: ...
Configurations: 'specification/napster/Napster.CompanionAPI.Management/tspconfig.yaml', SDK Release Type: stable, and CommitSHA: 'e9b8d33567e9422a09711667279fe178fada51a1' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6696943 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. Release plan link: https://azsdk-releaseplan-dashboard-hveph5aqhhcfhtgu.westus-01.azurewebsites.net/?releaseplan=36000 Submitted by: nikhgupt@microsoft.com