@@ -37,7 +37,7 @@ def get(
3737 account_id : str ,
3838 headers : typing .Optional [typing .Dict [str , typing .Any ]] = None ,
3939 params : typing .Optional [typing .Dict [str , typing .Any ]] = None ,
40- ) -> ProxyResponse :
40+ ) -> typing . Union [ ProxyResponse , typing . Iterator [ bytes ]] :
4141 """
4242 Parameters
4343 ----------
@@ -58,8 +58,8 @@ def get(
5858
5959 Returns
6060 -------
61- ProxyResponse
62- proxy request successful
61+ typing.Union[ ProxyResponse, typing.Iterator[bytes]]
62+ ProxyResponse for JSON content, Iterator[bytes] for binary content
6363
6464 Examples
6565 --------
@@ -108,7 +108,7 @@ def post(
108108 typing .Optional [typing .Any ],
109109 ]] = None ,
110110 params : typing .Optional [typing .Dict [str , typing .Any ]] = None ,
111- ) -> ProxyResponse :
111+ ) -> typing . Union [ ProxyResponse , typing . Iterator [ bytes ]] :
112112 """
113113 Parameters
114114 ----------
@@ -132,8 +132,8 @@ def post(
132132
133133 Returns
134134 -------
135- ProxyResponse
136- proxy request successful
135+ typing.Union[ ProxyResponse, typing.Iterator[bytes]]
136+ ProxyResponse for JSON content, Iterator[bytes] for binary content
137137
138138 Examples
139139 --------
@@ -183,7 +183,7 @@ def put(
183183 typing .Optional [typing .Any ],
184184 ]] = None ,
185185 params : typing .Optional [typing .Dict [str , typing .Any ]] = None ,
186- ) -> ProxyResponse :
186+ ) -> typing . Union [ ProxyResponse , typing . Iterator [ bytes ]] :
187187 """
188188 Parameters
189189 ----------
@@ -207,8 +207,8 @@ def put(
207207
208208 Returns
209209 -------
210- ProxyResponse
211- proxy request successful
210+ typing.Union[ ProxyResponse, typing.Iterator[bytes]]
211+ ProxyResponse for JSON content, Iterator[bytes] for binary content
212212
213213 Examples
214214 --------
@@ -254,7 +254,7 @@ def delete(
254254 account_id : str ,
255255 headers : typing .Optional [typing .Dict [str , typing .Any ]] = None ,
256256 params : typing .Optional [typing .Dict [str , typing .Any ]] = None ,
257- ) -> ProxyResponse :
257+ ) -> typing . Union [ ProxyResponse , typing . Iterator [ bytes ]] :
258258 """
259259 Parameters
260260 ----------
@@ -275,8 +275,8 @@ def delete(
275275
276276 Returns
277277 -------
278- ProxyResponse
279- proxy request successful
278+ typing.Union[ ProxyResponse, typing.Iterator[bytes]]
279+ ProxyResponse for JSON content, Iterator[bytes] for binary content
280280
281281 Examples
282282 --------
@@ -324,7 +324,7 @@ def patch(
324324 typing .Optional [typing .Any ],
325325 ]] = None ,
326326 params : typing .Optional [typing .Dict [str , typing .Any ]] = None ,
327- ) -> ProxyResponse :
327+ ) -> typing . Union [ ProxyResponse , typing . Iterator [ bytes ]] :
328328 """
329329 Parameters
330330 ----------
@@ -348,8 +348,8 @@ def patch(
348348
349349 Returns
350350 -------
351- ProxyResponse
352- proxy request successful
351+ typing.Union[ ProxyResponse, typing.Iterator[bytes]]
352+ ProxyResponse for JSON content, Iterator[bytes] for binary content
353353
354354 Examples
355355 --------
@@ -413,7 +413,7 @@ async def get(
413413 account_id : str ,
414414 headers : typing .Optional [typing .Dict [str , typing .Any ]] = None ,
415415 params : typing .Optional [typing .Dict [str , typing .Any ]] = None ,
416- ) -> ProxyResponse :
416+ ) -> typing . Union [ ProxyResponse , typing . Iterator [ bytes ]] :
417417 """
418418 Parameters
419419 ----------
@@ -434,8 +434,8 @@ async def get(
434434
435435 Returns
436436 -------
437- ProxyResponse
438- proxy request successful
437+ typing.Union[ ProxyResponse, typing.Iterator[bytes]]
438+ ProxyResponse for JSON content, Iterator[bytes] for binary content
439439
440440 Examples
441441 --------
@@ -491,7 +491,7 @@ async def post(
491491 typing .Optional [typing .Any ],
492492 ]] = None ,
493493 params : typing .Optional [typing .Dict [str , typing .Any ]] = None ,
494- ) -> ProxyResponse :
494+ ) -> typing . Union [ ProxyResponse , typing . Iterator [ bytes ]] :
495495 """
496496 Parameters
497497 ----------
@@ -515,8 +515,8 @@ async def post(
515515
516516 Returns
517517 -------
518- ProxyResponse
519- proxy request successful
518+ typing.Union[ ProxyResponse, typing.Iterator[bytes]]
519+ ProxyResponse for JSON content, Iterator[bytes] for binary content
520520
521521 Examples
522522 --------
@@ -574,7 +574,7 @@ async def put(
574574 typing .Optional [typing .Any ],
575575 ]] = None ,
576576 params : typing .Optional [typing .Dict [str , typing .Any ]] = None ,
577- ) -> ProxyResponse :
577+ ) -> typing . Union [ ProxyResponse , typing . Iterator [ bytes ]] :
578578 """
579579 Parameters
580580 ----------
@@ -598,8 +598,8 @@ async def put(
598598
599599 Returns
600600 -------
601- ProxyResponse
602- proxy request successful
601+ typing.Union[ ProxyResponse, typing.Iterator[bytes]]
602+ ProxyResponse for JSON content, Iterator[bytes] for binary content
603603
604604 Examples
605605 --------
@@ -653,7 +653,7 @@ async def delete(
653653 account_id : str ,
654654 headers : typing .Optional [typing .Dict [str , typing .Any ]] = None ,
655655 params : typing .Optional [typing .Dict [str , typing .Any ]] = None ,
656- ) -> ProxyResponse :
656+ ) -> typing . Union [ ProxyResponse , typing . Iterator [ bytes ]] :
657657 """
658658 Parameters
659659 ----------
@@ -674,8 +674,8 @@ async def delete(
674674
675675 Returns
676676 -------
677- ProxyResponse
678- proxy request successful
677+ typing.Union[ ProxyResponse, typing.Iterator[bytes]]
678+ ProxyResponse for JSON content, Iterator[bytes] for binary content
679679
680680 Examples
681681 --------
@@ -730,7 +730,7 @@ async def patch(
730730 typing .Optional [typing .Any ],
731731 ]] = None ,
732732 params : typing .Optional [typing .Dict [str , typing .Any ]] = None ,
733- ) -> ProxyResponse :
733+ ) -> typing . Union [ ProxyResponse , typing . Iterator [ bytes ]] :
734734 """
735735 Parameters
736736 ----------
@@ -754,8 +754,8 @@ async def patch(
754754
755755 Returns
756756 -------
757- ProxyResponse
758- proxy request successful
757+ typing.Union[ ProxyResponse, typing.Iterator[bytes]]
758+ ProxyResponse for JSON content, Iterator[bytes] for binary content
759759
760760 Examples
761761 --------
0 commit comments