Skip to content

Update azure-http-specs to 0.1.0-alpha.39-dev.4 for resiliency srv-driven @clientLocation fix#10077

Closed
Copilot wants to merge 2 commits intomainfrom
copilot/add-test-case-for-pull-4058
Closed

Update azure-http-specs to 0.1.0-alpha.39-dev.4 for resiliency srv-driven @clientLocation fix#10077
Copilot wants to merge 2 commits intomainfrom
copilot/add-test-case-for-pull-4058

Conversation

Copy link
Contributor

Copilot AI commented Mar 18, 2026

Azure/typespec-azure#4058 replaced @client({...}) with @clientName + explicit @@clientLocation decorators on AddOptionalParam operations in resiliency/srv-driven specs to keep those operations on the root ResiliencyServiceDrivenClient after a TCGC update.

Changes

  • package.json: Bump @azure-tools/azure-http-specs from 0.1.0-alpha.39-dev.30.1.0-alpha.39-dev.4 (first version containing the upstream spec change)
  • package-lock.json: Updated accordingly

The existing test_resiliency_srv_driven.py / test_resiliency_srv_driven_async.py tests already validate that from_none, from_one_required, and from_one_optional are callable directly on the root client — no new test code needed.

Original prompt

This section details on the original issue you should resolve

<issue_title>[python] add test case for Azure/typespec-azure#4058
</issue_title>
<issue_description>follow skill https://github.com/microsoft/typespec/blob/main/.github/skills/python-sdk-spector-mock-api-tests/SKILL.md to write test case for Azure/typespec-azure#4058
</issue_description>

Comments on the Issue (you are @copilot in this section)


💬 Send tasks to Copilot coding agent from Slack and Teams to turn conversations into code. Copilot posts an update in your thread when it's finished.

…iven clientLocation fix

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 Mar 18, 2026
Copilot AI changed the title [WIP] [python] Add test case for pull request 4058 Update azure-http-specs to 0.1.0-alpha.39-dev.4 for resiliency srv-driven @clientLocation fix Mar 18, 2026
Copilot AI requested a review from msyyc March 18, 2026 22:49
@msyyc
Copy link
Contributor

msyyc commented Mar 18, 2026

move to #10068

@msyyc msyyc closed this Mar 18, 2026
@msyyc msyyc deleted the copilot/add-test-case-for-pull-4058 branch March 18, 2026 23:56
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/4058

2 participants