1414
1515import warnings
1616from pydantic import validate_call , Field , StrictFloat , StrictStr , StrictInt
17- from typing import Any , Dict , List , Optional , Tuple , Union
17+ from typing import Any , Optional , Union
1818from typing_extensions import Annotated
1919
2020from pydantic import StrictStr
@@ -43,14 +43,14 @@ def test_auth_http_basic(
4343 _request_timeout : Union [
4444 None ,
4545 Annotated [StrictFloat , Field (gt = 0 )],
46- Tuple [
46+ tuple [
4747 Annotated [StrictFloat , Field (gt = 0 )],
4848 Annotated [StrictFloat , Field (gt = 0 )]
4949 ]
5050 ] = None ,
51- _request_auth : Optional [Dict [StrictStr , Any ]] = None ,
51+ _request_auth : Optional [dict [StrictStr , Any ]] = None ,
5252 _content_type : Optional [StrictStr ] = None ,
53- _headers : Optional [Dict [StrictStr , Any ]] = None ,
53+ _headers : Optional [dict [StrictStr , Any ]] = None ,
5454 _host_index : Annotated [StrictInt , Field (ge = 0 , le = 0 )] = 0 ,
5555 ) -> str :
5656 """To test HTTP basic authentication
@@ -86,7 +86,7 @@ def test_auth_http_basic(
8686 _host_index = _host_index
8787 )
8888
89- _response_types_map : Dict [str , Optional [str ]] = {
89+ _response_types_map : dict [str , Optional [str ]] = {
9090 '200' : "str" ,
9191 }
9292 response_data = self .api_client .call_api (
@@ -106,14 +106,14 @@ def test_auth_http_basic_with_http_info(
106106 _request_timeout : Union [
107107 None ,
108108 Annotated [StrictFloat , Field (gt = 0 )],
109- Tuple [
109+ tuple [
110110 Annotated [StrictFloat , Field (gt = 0 )],
111111 Annotated [StrictFloat , Field (gt = 0 )]
112112 ]
113113 ] = None ,
114- _request_auth : Optional [Dict [StrictStr , Any ]] = None ,
114+ _request_auth : Optional [dict [StrictStr , Any ]] = None ,
115115 _content_type : Optional [StrictStr ] = None ,
116- _headers : Optional [Dict [StrictStr , Any ]] = None ,
116+ _headers : Optional [dict [StrictStr , Any ]] = None ,
117117 _host_index : Annotated [StrictInt , Field (ge = 0 , le = 0 )] = 0 ,
118118 ) -> ApiResponse [str ]:
119119 """To test HTTP basic authentication
@@ -149,7 +149,7 @@ def test_auth_http_basic_with_http_info(
149149 _host_index = _host_index
150150 )
151151
152- _response_types_map : Dict [str , Optional [str ]] = {
152+ _response_types_map : dict [str , Optional [str ]] = {
153153 '200' : "str" ,
154154 }
155155 response_data = self .api_client .call_api (
@@ -169,14 +169,14 @@ def test_auth_http_basic_without_preload_content(
169169 _request_timeout : Union [
170170 None ,
171171 Annotated [StrictFloat , Field (gt = 0 )],
172- Tuple [
172+ tuple [
173173 Annotated [StrictFloat , Field (gt = 0 )],
174174 Annotated [StrictFloat , Field (gt = 0 )]
175175 ]
176176 ] = None ,
177- _request_auth : Optional [Dict [StrictStr , Any ]] = None ,
177+ _request_auth : Optional [dict [StrictStr , Any ]] = None ,
178178 _content_type : Optional [StrictStr ] = None ,
179- _headers : Optional [Dict [StrictStr , Any ]] = None ,
179+ _headers : Optional [dict [StrictStr , Any ]] = None ,
180180 _host_index : Annotated [StrictInt , Field (ge = 0 , le = 0 )] = 0 ,
181181 ) -> RESTResponseType :
182182 """To test HTTP basic authentication
@@ -212,7 +212,7 @@ def test_auth_http_basic_without_preload_content(
212212 _host_index = _host_index
213213 )
214214
215- _response_types_map : Dict [str , Optional [str ]] = {
215+ _response_types_map : dict [str , Optional [str ]] = {
216216 '200' : "str" ,
217217 }
218218 response_data = self .api_client .call_api (
@@ -232,15 +232,15 @@ def _test_auth_http_basic_serialize(
232232
233233 _host = None
234234
235- _collection_formats : Dict [str , str ] = {
235+ _collection_formats : dict [str , str ] = {
236236 }
237237
238- _path_params : Dict [str , str ] = {}
239- _query_params : List [ Tuple [str , str ]] = []
240- _header_params : Dict [str , Optional [str ]] = _headers or {}
241- _form_params : List [ Tuple [str , str ]] = []
242- _files : Dict [
243- str , Union [str , bytes , List [str ], List [bytes ], List [ Tuple [str , bytes ]]]
238+ _path_params : dict [str , str ] = {}
239+ _query_params : list [ tuple [str , str ]] = []
240+ _header_params : dict [str , Optional [str ]] = _headers or {}
241+ _form_params : list [ tuple [str , str ]] = []
242+ _files : dict [
243+ str , Union [str , bytes , list [str ], list [bytes ], list [ tuple [str , bytes ]]]
244244 ] = {}
245245 _body_params : Optional [bytes ] = None
246246
@@ -261,7 +261,7 @@ def _test_auth_http_basic_serialize(
261261
262262
263263 # authentication setting
264- _auth_settings : List [str ] = [
264+ _auth_settings : list [str ] = [
265265 'http_auth'
266266 ]
267267
@@ -289,14 +289,14 @@ def test_auth_http_bearer(
289289 _request_timeout : Union [
290290 None ,
291291 Annotated [StrictFloat , Field (gt = 0 )],
292- Tuple [
292+ tuple [
293293 Annotated [StrictFloat , Field (gt = 0 )],
294294 Annotated [StrictFloat , Field (gt = 0 )]
295295 ]
296296 ] = None ,
297- _request_auth : Optional [Dict [StrictStr , Any ]] = None ,
297+ _request_auth : Optional [dict [StrictStr , Any ]] = None ,
298298 _content_type : Optional [StrictStr ] = None ,
299- _headers : Optional [Dict [StrictStr , Any ]] = None ,
299+ _headers : Optional [dict [StrictStr , Any ]] = None ,
300300 _host_index : Annotated [StrictInt , Field (ge = 0 , le = 0 )] = 0 ,
301301 ) -> str :
302302 """To test HTTP bearer authentication
@@ -332,7 +332,7 @@ def test_auth_http_bearer(
332332 _host_index = _host_index
333333 )
334334
335- _response_types_map : Dict [str , Optional [str ]] = {
335+ _response_types_map : dict [str , Optional [str ]] = {
336336 '200' : "str" ,
337337 }
338338 response_data = self .api_client .call_api (
@@ -352,14 +352,14 @@ def test_auth_http_bearer_with_http_info(
352352 _request_timeout : Union [
353353 None ,
354354 Annotated [StrictFloat , Field (gt = 0 )],
355- Tuple [
355+ tuple [
356356 Annotated [StrictFloat , Field (gt = 0 )],
357357 Annotated [StrictFloat , Field (gt = 0 )]
358358 ]
359359 ] = None ,
360- _request_auth : Optional [Dict [StrictStr , Any ]] = None ,
360+ _request_auth : Optional [dict [StrictStr , Any ]] = None ,
361361 _content_type : Optional [StrictStr ] = None ,
362- _headers : Optional [Dict [StrictStr , Any ]] = None ,
362+ _headers : Optional [dict [StrictStr , Any ]] = None ,
363363 _host_index : Annotated [StrictInt , Field (ge = 0 , le = 0 )] = 0 ,
364364 ) -> ApiResponse [str ]:
365365 """To test HTTP bearer authentication
@@ -395,7 +395,7 @@ def test_auth_http_bearer_with_http_info(
395395 _host_index = _host_index
396396 )
397397
398- _response_types_map : Dict [str , Optional [str ]] = {
398+ _response_types_map : dict [str , Optional [str ]] = {
399399 '200' : "str" ,
400400 }
401401 response_data = self .api_client .call_api (
@@ -415,14 +415,14 @@ def test_auth_http_bearer_without_preload_content(
415415 _request_timeout : Union [
416416 None ,
417417 Annotated [StrictFloat , Field (gt = 0 )],
418- Tuple [
418+ tuple [
419419 Annotated [StrictFloat , Field (gt = 0 )],
420420 Annotated [StrictFloat , Field (gt = 0 )]
421421 ]
422422 ] = None ,
423- _request_auth : Optional [Dict [StrictStr , Any ]] = None ,
423+ _request_auth : Optional [dict [StrictStr , Any ]] = None ,
424424 _content_type : Optional [StrictStr ] = None ,
425- _headers : Optional [Dict [StrictStr , Any ]] = None ,
425+ _headers : Optional [dict [StrictStr , Any ]] = None ,
426426 _host_index : Annotated [StrictInt , Field (ge = 0 , le = 0 )] = 0 ,
427427 ) -> RESTResponseType :
428428 """To test HTTP bearer authentication
@@ -458,7 +458,7 @@ def test_auth_http_bearer_without_preload_content(
458458 _host_index = _host_index
459459 )
460460
461- _response_types_map : Dict [str , Optional [str ]] = {
461+ _response_types_map : dict [str , Optional [str ]] = {
462462 '200' : "str" ,
463463 }
464464 response_data = self .api_client .call_api (
@@ -478,15 +478,15 @@ def _test_auth_http_bearer_serialize(
478478
479479 _host = None
480480
481- _collection_formats : Dict [str , str ] = {
481+ _collection_formats : dict [str , str ] = {
482482 }
483483
484- _path_params : Dict [str , str ] = {}
485- _query_params : List [ Tuple [str , str ]] = []
486- _header_params : Dict [str , Optional [str ]] = _headers or {}
487- _form_params : List [ Tuple [str , str ]] = []
488- _files : Dict [
489- str , Union [str , bytes , List [str ], List [bytes ], List [ Tuple [str , bytes ]]]
484+ _path_params : dict [str , str ] = {}
485+ _query_params : list [ tuple [str , str ]] = []
486+ _header_params : dict [str , Optional [str ]] = _headers or {}
487+ _form_params : list [ tuple [str , str ]] = []
488+ _files : dict [
489+ str , Union [str , bytes , list [str ], list [bytes ], list [ tuple [str , bytes ]]]
490490 ] = {}
491491 _body_params : Optional [bytes ] = None
492492
@@ -507,7 +507,7 @@ def _test_auth_http_bearer_serialize(
507507
508508
509509 # authentication setting
510- _auth_settings : List [str ] = [
510+ _auth_settings : list [str ] = [
511511 'http_bearer_auth'
512512 ]
513513
0 commit comments