Skip to content
Myr

Add type annotation for `Request.hooks` (#7498)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Joren Hammudoglu · committed by GitHub · parent e50e594 · Browse files · 1 file+1 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−0 removed

  • other:+1 added−0 removed

1 file+1 added−0 removed

modified:src/requests/models.py+1 added
306 unmodified lines
307 >>> req.prepare()308 <PreparedRequest [GET]>309 """310311 hooks: dict[str, list[_t.HookType]]312 method: str | None313 url: _t.UriType | None314 headers: Mapping[str, str | bytes]315 files: _t.FilesType
866 unmodified lines