@@ -39,6 +39,7 @@ def request(
3939 auth : Optional [Tuple [str , str ]] = None ,
4040 timeout : Optional [float ] = None ,
4141 allow_redirects : bool = False ,
42+ is_oauth : bool = False ,
4243 ) -> Response :
4344 """
4445 Make an HTTP request.
@@ -53,6 +54,7 @@ def request(
5354 auth = auth ,
5455 timeout = timeout ,
5556 allow_redirects = allow_redirects ,
57+ is_oauth = is_oauth
5658 )
5759
5860 async def request_async (
@@ -65,6 +67,7 @@ async def request_async(
6567 auth : Optional [Tuple [str , str ]] = None ,
6668 timeout : Optional [float ] = None ,
6769 allow_redirects : bool = False ,
70+ is_oauth : bool = False ,
6871 ) -> Response :
6972 """
7073 Make an asynchronous HTTP request
@@ -79,6 +82,7 @@ async def request_async(
7982 auth = auth ,
8083 timeout = timeout ,
8184 allow_redirects = allow_redirects ,
85+ is_oauth = is_oauth
8286 )
8387
8488 @classmethod
@@ -123,6 +127,7 @@ def fetch(
123127 auth : Optional [Tuple [str , str ]] = None ,
124128 timeout : Optional [float ] = None ,
125129 allow_redirects : bool = False ,
130+ is_oauth : bool = False ,
126131 ) -> Any :
127132 """
128133 Fetch a resource instance.
@@ -136,6 +141,7 @@ def fetch(
136141 auth = auth ,
137142 timeout = timeout ,
138143 allow_redirects = allow_redirects ,
144+ is_oauth = is_oauth
139145 )
140146
141147 return self ._parse_fetch (method , uri , response )
@@ -150,6 +156,7 @@ async def fetch_async(
150156 auth : Optional [Tuple [str , str ]] = None ,
151157 timeout : Optional [float ] = None ,
152158 allow_redirects : bool = False ,
159+ is_oauth : bool = False ,
153160 ) -> Any :
154161 """
155162 Asynchronously fetch a resource instance.
@@ -163,6 +170,7 @@ async def fetch_async(
163170 auth = auth ,
164171 timeout = timeout ,
165172 allow_redirects = allow_redirects ,
173+ is_oauth = is_oauth
166174 )
167175
168176 return self ._parse_fetch (method , uri , response )
@@ -186,6 +194,7 @@ def update(
186194 auth : Optional [Tuple [str , str ]] = None ,
187195 timeout : Optional [float ] = None ,
188196 allow_redirects : bool = False ,
197+ is_oauth : bool = False ,
189198 ) -> Any :
190199 """
191200 Update a resource instance.
@@ -213,6 +222,7 @@ async def update_async(
213222 auth : Optional [Tuple [str , str ]] = None ,
214223 timeout : Optional [float ] = None ,
215224 allow_redirects : bool = False ,
225+ is_oauth : bool = False ,
216226 ) -> Any :
217227 """
218228 Asynchronously update a resource instance.
@@ -226,6 +236,7 @@ async def update_async(
226236 auth = auth ,
227237 timeout = timeout ,
228238 allow_redirects = allow_redirects ,
239+ is_oauth = is_oauth
229240 )
230241
231242 return self ._parse_update (method , uri , response )
@@ -249,6 +260,7 @@ def delete(
249260 auth : Optional [Tuple [str , str ]] = None ,
250261 timeout : Optional [float ] = None ,
251262 allow_redirects : bool = False ,
263+ is_oauth : bool = False ,
252264 ) -> bool :
253265 """
254266 Delete a resource.
@@ -276,6 +288,7 @@ async def delete_async(
276288 auth : Optional [Tuple [str , str ]] = None ,
277289 timeout : Optional [float ] = None ,
278290 allow_redirects : bool = False ,
291+ is_oauth : bool = False ,
279292 ) -> bool :
280293 """
281294 Asynchronously delete a resource.
@@ -289,6 +302,7 @@ async def delete_async(
289302 auth = auth ,
290303 timeout = timeout ,
291304 allow_redirects = allow_redirects ,
305+ is_oauth = is_oauth
292306 )
293307
294308 return self ._parse_delete (method , uri , response )
@@ -347,6 +361,7 @@ async def page_async(
347361 auth : Optional [Tuple [str , str ]] = None ,
348362 timeout : Optional [float ] = None ,
349363 allow_redirects : bool = False ,
364+ is_oauth : bool = False ,
350365 ) -> Response :
351366 """
352367 Makes an asynchronous HTTP request.
@@ -360,6 +375,7 @@ async def page_async(
360375 auth = auth ,
361376 timeout = timeout ,
362377 allow_redirects = allow_redirects ,
378+ is_oauth = is_oauth
363379 )
364380
365381 def stream (
@@ -447,6 +463,7 @@ def create(
447463 auth : Optional [Tuple [str , str ]] = None ,
448464 timeout : Optional [float ] = None ,
449465 allow_redirects : bool = False ,
466+ is_oauth : bool = False ,
450467 ) -> Any :
451468 """
452469 Create a resource instance.
@@ -474,6 +491,7 @@ async def create_async(
474491 auth : Optional [Tuple [str , str ]] = None ,
475492 timeout : Optional [float ] = None ,
476493 allow_redirects : bool = False ,
494+ is_oauth : bool = False ,
477495 ) -> Any :
478496 """
479497 Asynchronously create a resource instance.
@@ -487,6 +505,7 @@ async def create_async(
487505 auth = auth ,
488506 timeout = timeout ,
489507 allow_redirects = allow_redirects ,
508+ is_oauth = is_oauth
490509 )
491510
492511 return self ._parse_create (method , uri , response )
0 commit comments