Skip to content

docs: hide Response.is_permanent_redirect from API reference#7244

Merged
nateprewitt merged 1 commit intopsf:mainfrom
mitre88:patch-1
Mar 5, 2026
Merged

docs: hide Response.is_permanent_redirect from API reference#7244
nateprewitt merged 1 commit intopsf:mainfrom
mitre88:patch-1

Conversation

@mitre88
Copy link
Contributor

@mitre88 mitre88 commented Mar 5, 2026

Summary

  • exclude Response.is_permanent_redirect from the generated API reference for Response
  • keep the attribute available in code while avoiding it being surfaced as a public API recommendation

Closes #5436

Hide the internal Response.is_permanent_redirect attribute from public API documentation.
Copy link
Member

@nateprewitt nateprewitt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems reasonable. Thank you, @mitre88.

@nateprewitt nateprewitt merged commit 0e4ae38 into psf:main Mar 5, 2026
26 checks passed
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.

Add response.future_requests_uri, deprecate response.is_permanent_redirect

2 participants