Skip to content

Add Python mock API coverage for parameterized next links - #11654

Draft
Yuchao Yan (msyyc) with Copilot wants to merge 2 commits into
mainfrom
copilot/add-test-case-for-pull-5198
Draft

Add Python mock API coverage for parameterized next links#11654
Yuchao Yan (msyyc) with Copilot wants to merge 2 commits into
mainfrom
copilot/add-test-case-for-pull-5198

Conversation

Copilot AI commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Adds Python SDK mock API coverage for the Azure Core parameterized next link paging scenario enabled by Azure/typespec-azure#5198.

  • Mock API assertions

    • Strengthens sync and async azure/core/page tests to validate the exact paged User models returned across the parameterized next link flow.
  • Changelog

    • Adds an internal Chronus entry for @typespec/http-client-python.
result = list(client.with_parameterized_next_link(select="name", include_pending=True))
assert result == [models.User(id=1, name="User1"), models.User(id=2, name="User2")]

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
1 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com>
@microsoft-github-policy-service microsoft-github-policy-service Bot added the emitter:client:python Issue for the Python client emitter: @typespec/http-client-python label Aug 13, 2026
Copilot AI changed the title [WIP] Add test case for Azure Typespec PR 5198 Add Python mock API coverage for parameterized next links Aug 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

emitter:client:python Issue for the Python client emitter: @typespec/http-client-python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[python] add test case for https://github.com/Azure/typespec-azure/pull/5198

2 participants