1- from _typeshed import Incomplete , SupportsItems , SupportsRead , Unused
1+ from _typeshed import SupportsItems , SupportsRead , Unused
22from collections .abc import Callable , Iterable , Mapping , MutableMapping
33from typing import Any , TypedDict
44from typing_extensions import Self , TypeAlias
55
66from . import adapters , auth as _auth , compat , cookies , exceptions , hooks , models , status_codes , utils
7- from .models import Response
7+ from .models import _JSON , Response
88from .structures import CaseInsensitiveDict as CaseInsensitiveDict
99
1010_BaseAdapter : TypeAlias = adapters .BaseAdapter
@@ -44,10 +44,10 @@ class SessionRedirectMixin:
4444 resp ,
4545 req ,
4646 stream : bool = False ,
47- timeout : Incomplete | None = None ,
47+ timeout = None ,
4848 verify : bool = True ,
49- cert : Incomplete | None = None ,
50- proxies : Incomplete | None = None ,
49+ cert = None ,
50+ proxies = None ,
5151 yield_requests : bool = False ,
5252 ** adapter_kwargs ,
5353 ): ...
@@ -151,7 +151,7 @@ class Session(SessionRedirectMixin):
151151 stream : bool | None = None ,
152152 verify : _Verify | None = None ,
153153 cert : _Cert | None = None ,
154- json : Incomplete | None = None ,
154+ json : _JSON | None = None ,
155155 ) -> Response : ...
156156 def get (
157157 self ,
@@ -170,7 +170,7 @@ class Session(SessionRedirectMixin):
170170 stream : bool | None = ...,
171171 verify : _Verify | None = ...,
172172 cert : _Cert | None = ...,
173- json : Incomplete | None = ... ,
173+ json : _JSON | None = None ,
174174 ) -> Response : ...
175175 def options (
176176 self ,
@@ -189,7 +189,7 @@ class Session(SessionRedirectMixin):
189189 stream : bool | None = ...,
190190 verify : _Verify | None = ...,
191191 cert : _Cert | None = ...,
192- json : Incomplete | None = ... ,
192+ json : _JSON | None = None ,
193193 ) -> Response : ...
194194 def head (
195195 self ,
@@ -208,13 +208,13 @@ class Session(SessionRedirectMixin):
208208 stream : bool | None = ...,
209209 verify : _Verify | None = ...,
210210 cert : _Cert | None = ...,
211- json : Incomplete | None = ... ,
211+ json : _JSON | None = None ,
212212 ) -> Response : ...
213213 def post (
214214 self ,
215215 url : str | bytes ,
216216 data : _Data | None = None ,
217- json : Incomplete | None = None ,
217+ json : _JSON | None = None ,
218218 * ,
219219 params : _Params | None = ...,
220220 headers : _HeadersUpdateMapping | None = ...,
@@ -246,7 +246,7 @@ class Session(SessionRedirectMixin):
246246 stream : bool | None = ...,
247247 verify : _Verify | None = ...,
248248 cert : _Cert | None = ...,
249- json : Incomplete | None = ... ,
249+ json : _JSON | None = None ,
250250 ) -> Response : ...
251251 def patch (
252252 self ,
@@ -265,7 +265,7 @@ class Session(SessionRedirectMixin):
265265 stream : bool | None = ...,
266266 verify : _Verify | None = ...,
267267 cert : _Cert | None = ...,
268- json : Incomplete | None = ... ,
268+ json : _JSON | None = None ,
269269 ) -> Response : ...
270270 def delete (
271271 self ,
@@ -284,7 +284,7 @@ class Session(SessionRedirectMixin):
284284 stream : bool | None = ...,
285285 verify : _Verify | None = ...,
286286 cert : _Cert | None = ...,
287- json : Incomplete | None = ... ,
287+ json : _JSON | None = None ,
288288 ) -> Response : ...
289289 def send (
290290 self ,
0 commit comments