Skip to content

Fix required eTag conditional headers in Python - #11963

Closed
Libba Lawrence (l0lawrence) wants to merge 1 commit into
microsoft:mainfrom
l0lawrence:fix-required-etag-headers
Closed

Libba Lawrence (l0lawrence) wants to merge 1 commit into
microsoft:mainfrom
l0lawrence:fix-required-etag-headers

Conversation

@l0lawrence

@l0lawrence Libba Lawrence (l0lawrence) commented Sep 14, 2026

Copy link
Copy Markdown
Member

Summary

  • keep required \f-Match headers as direct required if_match: str parameters
  • reserve the etag + match_condition convenience API for optional conditional headers
  • add focused emitter and sync/async generated request coverage

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@pkg-pr-new

pkg-pr-new Bot commented Sep 14, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@typespec/http-client-python@11963

commit: e783346

@l0lawrence

Copy link
Copy Markdown
Member Author

Superseded by #11964, which uses the upstream branch llawrence/fix-required-etag-headers.

@l0lawrence
Libba Lawrence (l0lawrence) deleted the fix-required-etag-headers branch September 14, 2026 18:55
@github-actions

Copy link
Copy Markdown
Contributor

All changed packages have been documented.

  • @typespec/http-client-python
Show changes

@typespec/http-client-python - fix ✏️

Generate required If-Match headers as direct if_match parameters instead of,> the optional etag and match_condition convenience API.

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.

1 participant