diff --git a/stubs/requests/requests/api.pyi b/stubs/requests/requests/api.pyi index 5578f13a5aca..8032af2b2707 100644 --- a/stubs/requests/requests/api.pyi +++ b/stubs/requests/requests/api.pyi @@ -3,9 +3,7 @@ from collections.abc import Mapping from typing_extensions import TypeAlias from .models import Response -from .sessions import RequestsCookieJar, _Auth, _Cert, _Data, _Files, _HooksInput, _Params, _TextMapping, _Timeout, _Verify - -_HeadersMapping: TypeAlias = Mapping[str, str | bytes] +from .sessions import RequestsCookieJar, _Auth, _Cert, _Data, _Files, _HeadersUpdateMapping as _HeadersMapping, _HooksInput, _Params, _TextMapping, _Timeout, _Verify def request( method: str | bytes,