requests: Session.adapters is a mapping of Adapters (#12473)

Signed-off-by: Stephen Finucane <stephen@that.guru>
This commit is contained in:
Stephen Finucane
2024-09-07 07:05:55 +09:00
committed by GitHub
parent cc45a6e9ba
commit b3774bc22b

View File

@@ -131,7 +131,7 @@ class Session(SessionRedirectMixin):
max_redirects: int
trust_env: bool
cookies: RequestsCookieJar
adapters: MutableMapping[Any, Any]
adapters: MutableMapping[str, adapters.BaseAdapter]
redirect_cache: RecentlyUsedContainer[Any, Any]
def __init__(self) -> None: ...
def __enter__(self) -> Self: ...