Skip to content

Add type annotation for Request.hooks#7498

Merged
nateprewitt merged 1 commit into
psf:mainfrom
jorenham:typing/Request.hooks
Jun 4, 2026
Merged

Add type annotation for Request.hooks#7498
nateprewitt merged 1 commit into
psf:mainfrom
jorenham:typing/Request.hooks

Conversation

@jorenham
Copy link
Copy Markdown
Contributor

@jorenham jorenham commented Jun 4, 2026

The typestats dashboard (https://jorenham.github.io/typestats/dashboard/report/#requests) showed that this instance attribute wasn't typed yet. And I thought it would be nice if we could get the type coverage % of requests to 100%, because it's currently (requests==2.34.2) at 97.9% (so close!).

Copy link
Copy Markdown
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.

Thanks, @jorenham!

@nateprewitt nateprewitt merged commit 1190afd into psf:main Jun 4, 2026
33 checks passed
@jorenham jorenham deleted the typing/Request.hooks branch June 4, 2026 21:44
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.

2 participants