mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-06-24 09:48:39 +08:00
[requests] Remove Session.redirect_cache (#13723)
This commit is contained in:
@@ -3,8 +3,6 @@ from collections.abc import Callable, Iterable, Mapping, MutableMapping
|
||||
from typing import Any, TypedDict
|
||||
from typing_extensions import Self, TypeAlias
|
||||
|
||||
from urllib3._collections import RecentlyUsedContainer
|
||||
|
||||
from . import adapters, auth as _auth, compat, cookies, exceptions, hooks, models, status_codes, utils
|
||||
from .models import Response
|
||||
from .structures import CaseInsensitiveDict as CaseInsensitiveDict
|
||||
@@ -132,7 +130,6 @@ class Session(SessionRedirectMixin):
|
||||
trust_env: bool
|
||||
cookies: RequestsCookieJar
|
||||
adapters: MutableMapping[str, adapters.BaseAdapter]
|
||||
redirect_cache: RecentlyUsedContainer[Any, Any]
|
||||
def __init__(self) -> None: ...
|
||||
def __enter__(self) -> Self: ...
|
||||
def __exit__(self, *args: Unused) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user