5959
6060_SERVER_ERRORS : typing .Final [
6161 typing .Tuple [
62- typing . Type [requests .exceptions .Timeout ],
63- typing . Type [requests .exceptions .ConnectionError ],
64- typing . Type [requests .exceptions .HTTPError ],
65- typing . Type [requests .exceptions .RequestException ],
66- typing . Type [requests .exceptions .SSLError ],
67- typing . Type [HTTPStatus0Error ],
68- typing . Type [ServerError ],
69- typing . Type [ServiceUnavailable ],
62+ type [requests .exceptions .Timeout ],
63+ type [requests .exceptions .ConnectionError ],
64+ type [requests .exceptions .HTTPError ],
65+ type [requests .exceptions .RequestException ],
66+ type [requests .exceptions .SSLError ],
67+ type [HTTPStatus0Error ],
68+ type [ServerError ],
69+ type [ServiceUnavailable ],
7070 ]
7171] = (
7272 requests .exceptions .Timeout ,
@@ -108,7 +108,7 @@ def __init__(self, config: Configuration):
108108 def get (
109109 self ,
110110 endpoint : str ,
111- entity_type : typing . Type [TEntityDict ],
111+ entity_type : type [TEntityDict ],
112112 as_json : typing .Literal [False ],
113113 params : typing .Union [TParams , None ] = None ,
114114 ) -> str :
@@ -129,7 +129,7 @@ def get(
129129 def get (
130130 self ,
131131 endpoint : str ,
132- entity_type : typing . Type [TEntityDict ],
132+ entity_type : type [TEntityDict ],
133133 as_json : typing .Literal [True ],
134134 params : typing .Union [TParams , None ] = None ,
135135 ) -> TEntityDict :
@@ -149,7 +149,7 @@ def get(
149149 def get (
150150 self ,
151151 endpoint : str ,
152- entity_type : typing . Type [TEntityDict ],
152+ entity_type : type [TEntityDict ],
153153 as_json : typing .Union [typing .Literal [True ], typing .Literal [False ]] = True ,
154154 params : typing .Union [TParams , None ] = None ,
155155 ) -> typing .Union [TEntityDict , str ]:
@@ -177,7 +177,7 @@ def get(
177177 def post (
178178 self ,
179179 endpoint : str ,
180- entity_type : typing . Type [TEntityDict ],
180+ entity_type : type [TEntityDict ],
181181 as_json : typing .Literal [False ],
182182 params : typing .Union [TParams , None ] = None ,
183183 body : typing .Union [TBody , None ] = None ,
@@ -199,7 +199,7 @@ def post(
199199 def post (
200200 self ,
201201 endpoint : str ,
202- entity_type : typing . Type [TEntityDict ],
202+ entity_type : type [TEntityDict ],
203203 as_json : typing .Literal [True ],
204204 params : typing .Union [TParams , None ] = None ,
205205 body : typing .Union [TBody , None ] = None ,
@@ -220,7 +220,7 @@ def post(
220220 def post (
221221 self ,
222222 endpoint : str ,
223- entity_type : typing . Type [TEntityDict ],
223+ entity_type : type [TEntityDict ],
224224 as_json : typing .Union [typing .Literal [True ], typing .Literal [False ]] = True ,
225225 params : typing .Union [TParams , None ] = None ,
226226 body : typing .Union [TBody , None ] = None ,
@@ -249,7 +249,7 @@ def post(
249249 def put (
250250 self ,
251251 endpoint : str ,
252- entity_type : typing . Type [TEntityDict ],
252+ entity_type : type [TEntityDict ],
253253 body : TBody ,
254254 params : typing .Union [TParams , None ] = None ,
255255 ) -> TEntityDict :
@@ -276,7 +276,7 @@ def put(
276276 def patch (
277277 self ,
278278 endpoint : str ,
279- entity_type : typing . Type [TEntityDict ],
279+ entity_type : type [TEntityDict ],
280280 body : TBody ,
281281 params : typing .Union [TParams , None ] = None ,
282282 ) -> TEntityDict :
@@ -303,7 +303,7 @@ def patch(
303303 def delete (
304304 self ,
305305 endpoint : str ,
306- entity_type : typing . Type [TEntityDict ],
306+ entity_type : type [TEntityDict ],
307307 params : typing .Union [TParams , None ] = None ,
308308 ) -> TEntityDict :
309309 """
@@ -330,7 +330,7 @@ def _execute_request(
330330 self ,
331331 fn : typing .Callable [..., requests .models .Response ],
332332 endpoint : str ,
333- entity_type : typing . Type [TEntityDict ],
333+ entity_type : type [TEntityDict ],
334334 as_json : typing .Literal [True ],
335335 last_exception : typing .Union [None , Exception ] = None ,
336336 num_retries : int = 0 ,
@@ -369,7 +369,7 @@ def _execute_request(
369369 self ,
370370 fn : typing .Callable [..., requests .models .Response ],
371371 endpoint : str ,
372- entity_type : typing . Type [TEntityDict ],
372+ entity_type : type [TEntityDict ],
373373 as_json : typing .Literal [False ],
374374 last_exception : typing .Union [None , Exception ] = None ,
375375 num_retries : int = 0 ,
@@ -407,7 +407,7 @@ def _execute_request(
407407 self ,
408408 fn : typing .Callable [..., requests .models .Response ],
409409 endpoint : str ,
410- entity_type : typing . Type [TEntityDict ],
410+ entity_type : type [TEntityDict ],
411411 as_json : typing .Union [typing .Literal [True ], typing .Literal [False ]] = True ,
412412 last_exception : typing .Union [None , Exception ] = None ,
413413 num_retries : int = 0 ,
@@ -471,7 +471,7 @@ def _make_request_and_process_response(
471471 self ,
472472 fn : typing .Callable [..., requests .models .Response ],
473473 url : str ,
474- entity_type : typing . Type [TEntityDict ],
474+ entity_type : type [TEntityDict ],
475475 as_json : bool ,
476476 ** kwargs : SessionFunctionKwargs [TParams , TBody ],
477477 ) -> typing .Union [TEntityDict , str ]:
0 commit comments