Skip to content

[http-client-python] Refine api_version argument doc#10348

Draft
Copilot wants to merge 4 commits intomainfrom
copilot/fix-api-version-doc
Draft

[http-client-python] Refine api_version argument doc#10348
Copilot wants to merge 4 commits intomainfrom
copilot/fix-api-version-doc

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 13, 2026

  • Show None as default value for optional api_version params
  • Add "If not set, the operation's default API version will be used" note
  • Include None in known values for api_version
  • Keep "Note that overriding this default value may result in unsupported behavior" for api-version
  • Remove standalone test file per reviewer request

For optional api_version parameters:
- Known values now include "and None" since None is valid
- Default value shows None instead of the version string
- Adds note: "If not set, the operation's default API version will be used."
- Removes "Note that overriding this default value may result in unsupported behavior."

Agent-Logs-Url: https://github.com/microsoft/typespec/sessions/0ef852ae-fc44-4ef7-9ec1-8ae7ec0e062d

Co-authored-by: tadelesh <1726438+tadelesh@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 Apr 13, 2026
Copilot AI changed the title [WIP] Fix api_version argument documentation [http-client-python] Refine api_version argument doc Apr 13, 2026
Copilot AI requested a review from tadelesh April 13, 2026 02:25
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.

[http-client-python] Refine api_version argument doc

2 participants