Skip to content

[AutoPR azure-mgmt-napsteromniagentapi]-generated-from-SDK Generation - Python-6696943 - #48542

Open
azure-sdk-automation[bot] wants to merge 7 commits into
mainfrom
sdkauto/azure-mgmt-napsteromniagentapi-6690002
Open

[AutoPR azure-mgmt-napsteromniagentapi]-generated-from-SDK Generation - Python-6696943#48542
azure-sdk-automation[bot] wants to merge 7 commits into
mainfrom
sdkauto/azure-mgmt-napsteromniagentapi-6690002

Conversation

@azure-sdk-automation

@azure-sdk-automation azure-sdk-automation Bot commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

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

Copilot AI balanced review requested due to automatic review settings August 12, 2026 05:50
@azure-sdk-automation azure-sdk-automation Bot added the auto-release When merged to main, release pipelines for this PR's changed packages trigger automatically. label Aug 12, 2026
@azure-pipelines

Copy link
Copy Markdown
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.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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-preview to 2026-08-11 across 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.types TypedDict request/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.

Comment thread sdk/napsteromniagentapi/azure-mgmt-napsteromniagentapi/CHANGELOG.md Outdated
Comment thread sdk/napsteromniagentapi/azure-mgmt-napsteromniagentapi/api.md
@github-actions

Copy link
Copy Markdown
Contributor
[Pilot] PR Pipeline Failure Analysis

A CI pipeline failed on this pull request. Here is an automated analysis of what went wrong and how to get the build green.

What failed

The python - pullrequest pipeline (build #6690052) failed in the Build Analyze stage on a changelog validation check for azure-mgmt-napsteromniagentapi.

The changelog entry for version 1.0.0 in sdk/napsteromniagentapi/azure-mgmt-napsteromniagentapi/CHANGELOG.md uses the auto-generated placeholder text and does not contain any of the required sections.

Recommended next steps

  • Update sdk/napsteromniagentapi/azure-mgmt-napsteromniagentapi/CHANGELOG.md so the 1.0.0 entry includes at least one required section: Features Added, Breaking Changes, Bugs Fixed, or Other Changes. Example:
## 1.0.0 (2026-08-12)

### Features Added

- Initial release of `azure-mgmt-napsteromniagentapi`.
Raw pipeline analysis (azsdk ci analyze)
Build: 6690052 Project: public
PipelineUrl: https://dev.azure.com/azure-sdk/public/_build/results?buildId=6690052

[error] The changelog entry did not contain any of the recommended sections
(Features Added, Breaking Changes, Bugs Fixed, Other Changes), please add at least one.
See https://aka.ms/azsdk/guideline/changelogs for more info.
[error] PowerShell exited with code '1'.

Failing checks:
  python - pullrequest [FAILURE]
  https://dev.azure.com/azure-sdk/public/_build/results?buildId=6690052
  python - pullrequest (Build Analyze) [FAILURE]
  https://dev.azure.com/azure-sdk/public/_build/results?buildId=6690052&view=logs&jobId=b70e5e73-bbb6-5567-0939-8415943fadb9

Copilot detected the failing pipeline and generated the analysis above. To have it attempt a fix automatically, reply with @copilot please fix the failing pipeline on this PR.

Generated by Pipeline Analysis - Next Steps · 22.9 AIC · ⌖ 6.17 AIC · ⊞ 6.6K ·

@ChenxiJiang333

Copy link
Copy Markdown
Member

Hi, the new api version 2026-08-11 seems not deployed on portal yet, we recommend making sure the api version to be deployed before releasing the SDK, though we won't block the release in self-serve release flow.

Copilot AI review requested due to automatic review settings August 13, 2026 02:38
@ChenxiJiang333 ChenxiJiang333 added the mgmt-review-needed PR for Mgmt SDK is ready to review label Aug 13, 2026

@ChenxiJiang333 ChenxiJiang333 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Nikhil Gupta (@nikhgup), we have approved the PR. You can move on to merge and release though the action suggestion in Release Plan.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 32 out of 32 changed files in this pull request and generated no new comments.

Copilot AI review requested due to automatic review settings August 13, 2026 02:42

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 32 out of 32 changed files in this pull request and generated no new comments.

Copilot AI review requested due to automatic review settings August 13, 2026 05:41

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 32 out of 32 changed files in this pull request and generated no new comments.

Copilot AI review requested due to automatic review settings August 13, 2026 06:51

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 32 out of 32 changed files in this pull request and generated no new comments.

Copilot AI review requested due to automatic review settings August 13, 2026 07:01
@azure-sdk-automation azure-sdk-automation Bot changed the title [AutoPR azure-mgmt-napsteromniagentapi]-generated-from-SDK Generation - Python-6690002 [AutoPR azure-mgmt-napsteromniagentapi]-generated-from-SDK Generation - Python-6696943 Aug 13, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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_str assumes attr is a string and calls .lower(). If a non-string slips through (e.g., numbers, None, or other JSON types), this will raise an AttributeError. Consider normalizing with str(attr).lower() (and/or handling None explicitly) or raising a ValueError/TypeError with 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 @overload entries 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]: ...

Copilot AI review requested due to automatic review settings August 13, 2026 07:08

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 32 out of 32 changed files in this pull request and generated no new comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-release When merged to main, release pipelines for this PR's changed packages trigger automatically. mgmt-review-needed PR for Mgmt SDK is ready to review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants