Skip to content

docs: fix broken link in TestClient.auth docstring - #3391

Open
ni7ish-s wants to merge 3 commits into
Kludex:mainfrom
ni7ish-s:docs/fix-testclient-auth-link
Open

docs: fix broken link in TestClient.auth docstring#3391
ni7ish-s wants to merge 3 commits into
Kludex:mainfrom
ni7ish-s:docs/fix-testclient-auth-link

Conversation

@ni7ish-s

@ni7ish-s ni7ish-s commented Jul 26, 2026

Copy link
Copy Markdown

Summary

Fixed a broken link in TestClient.auth's docstring. The property
currently inherits its docstring from httpx.Client.auth, which
contains a relative link that resolves incorrectly when rendered on
downstream docs sites, causing a 404.

This adds an override with a corrected absolute link to HTTPX's docs.

Found via fastapi/fastapi#16061

Review in cubic

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant