Skip to content
Myr

sessions: fix hooks type (#7425)

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

authored by Sebastian Meyer · committed by GitHub · parent dc9dbdf · Browse files · 2 files+2 added−2 removed
This commit

State

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

Diff stats

2 files+2 added−2 removed

  • other:+2 added−2 removed

2 files+2 added−2 removed

modified:src/requests/_types.py+1 added-1 removed
148 unmodified lines
149 auth: AuthType150 timeout: TimeoutType151 allow_redirects: bool152 proxies: dict[str, str] | None153 hooks: HooksType153 hooks: HooksInputType | None154 stream: bool | None155 verify: VerifyType | None156 cert: CertType157
19 unmodified lines
modified:src/requests/sessions.py+1 added-1 removed
565 unmodified lines
566 auth: _t.AuthType = None,567 timeout: _t.TimeoutType = None,568 allow_redirects: bool = True,569 proxies: dict[str, str] | None = None,570 hooks: _t.HooksType = None,570 hooks: _t.HooksInputType | None = None,571 stream: bool | None = None,572 verify: _t.VerifyType | None = None,573 cert: _t.CertType = None,574 json: _t.JsonType = None,
339 unmodified lines