revengai 1.94.0__py3-none-any.whl → 1.95.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of revengai might be problematic. Click here for more details.

@@ -15,9 +15,7 @@ from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
15
15
  from typing import Any, Dict, List, Optional, Tuple, Union
16
16
  from typing_extensions import Annotated
17
17
 
18
- from pydantic import Field, StrictInt, StrictStr
19
- from typing import Optional
20
- from typing_extensions import Annotated
18
+ from pydantic import StrictInt
21
19
  from revengai.models.base_response import BaseResponse
22
20
  from revengai.models.base_response_list_function_name_history import BaseResponseListFunctionNameHistory
23
21
  from revengai.models.function_rename import FunctionRename
@@ -45,7 +43,6 @@ class FunctionsRenamingHistoryApi:
45
43
  def batch_rename_function(
46
44
  self,
47
45
  functions_list_rename: FunctionsListRename,
48
- authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
49
46
  _request_timeout: Union[
50
47
  None,
51
48
  Annotated[StrictFloat, Field(gt=0)],
@@ -65,8 +62,6 @@ class FunctionsRenamingHistoryApi:
65
62
 
66
63
  :param functions_list_rename: (required)
67
64
  :type functions_list_rename: FunctionsListRename
68
- :param authorization: API Key bearer token
69
- :type authorization: str
70
65
  :param _request_timeout: timeout setting for this request. If one
71
66
  number provided, it will be total request
72
67
  timeout. It can also be a pair (tuple) of
@@ -91,7 +86,6 @@ class FunctionsRenamingHistoryApi:
91
86
 
92
87
  _param = self._batch_rename_function_serialize(
93
88
  functions_list_rename=functions_list_rename,
94
- authorization=authorization,
95
89
  _request_auth=_request_auth,
96
90
  _content_type=_content_type,
97
91
  _headers=_headers,
@@ -117,7 +111,6 @@ class FunctionsRenamingHistoryApi:
117
111
  def batch_rename_function_with_http_info(
118
112
  self,
119
113
  functions_list_rename: FunctionsListRename,
120
- authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
121
114
  _request_timeout: Union[
122
115
  None,
123
116
  Annotated[StrictFloat, Field(gt=0)],
@@ -137,8 +130,6 @@ class FunctionsRenamingHistoryApi:
137
130
 
138
131
  :param functions_list_rename: (required)
139
132
  :type functions_list_rename: FunctionsListRename
140
- :param authorization: API Key bearer token
141
- :type authorization: str
142
133
  :param _request_timeout: timeout setting for this request. If one
143
134
  number provided, it will be total request
144
135
  timeout. It can also be a pair (tuple) of
@@ -163,7 +154,6 @@ class FunctionsRenamingHistoryApi:
163
154
 
164
155
  _param = self._batch_rename_function_serialize(
165
156
  functions_list_rename=functions_list_rename,
166
- authorization=authorization,
167
157
  _request_auth=_request_auth,
168
158
  _content_type=_content_type,
169
159
  _headers=_headers,
@@ -189,7 +179,6 @@ class FunctionsRenamingHistoryApi:
189
179
  def batch_rename_function_without_preload_content(
190
180
  self,
191
181
  functions_list_rename: FunctionsListRename,
192
- authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
193
182
  _request_timeout: Union[
194
183
  None,
195
184
  Annotated[StrictFloat, Field(gt=0)],
@@ -209,8 +198,6 @@ class FunctionsRenamingHistoryApi:
209
198
 
210
199
  :param functions_list_rename: (required)
211
200
  :type functions_list_rename: FunctionsListRename
212
- :param authorization: API Key bearer token
213
- :type authorization: str
214
201
  :param _request_timeout: timeout setting for this request. If one
215
202
  number provided, it will be total request
216
203
  timeout. It can also be a pair (tuple) of
@@ -235,7 +222,6 @@ class FunctionsRenamingHistoryApi:
235
222
 
236
223
  _param = self._batch_rename_function_serialize(
237
224
  functions_list_rename=functions_list_rename,
238
- authorization=authorization,
239
225
  _request_auth=_request_auth,
240
226
  _content_type=_content_type,
241
227
  _headers=_headers,
@@ -256,7 +242,6 @@ class FunctionsRenamingHistoryApi:
256
242
  def _batch_rename_function_serialize(
257
243
  self,
258
244
  functions_list_rename,
259
- authorization,
260
245
  _request_auth,
261
246
  _content_type,
262
247
  _headers,
@@ -280,8 +265,6 @@ class FunctionsRenamingHistoryApi:
280
265
  # process the path parameters
281
266
  # process the query parameters
282
267
  # process the header parameters
283
- if authorization is not None:
284
- _header_params['authorization'] = authorization
285
268
  # process the form parameters
286
269
  # process the body parameter
287
270
  if functions_list_rename is not None:
@@ -337,7 +320,6 @@ class FunctionsRenamingHistoryApi:
337
320
  def get_function_name_history(
338
321
  self,
339
322
  function_id: StrictInt,
340
- authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
341
323
  _request_timeout: Union[
342
324
  None,
343
325
  Annotated[StrictFloat, Field(gt=0)],
@@ -357,8 +339,6 @@ class FunctionsRenamingHistoryApi:
357
339
 
358
340
  :param function_id: (required)
359
341
  :type function_id: int
360
- :param authorization: API Key bearer token
361
- :type authorization: str
362
342
  :param _request_timeout: timeout setting for this request. If one
363
343
  number provided, it will be total request
364
344
  timeout. It can also be a pair (tuple) of
@@ -383,7 +363,6 @@ class FunctionsRenamingHistoryApi:
383
363
 
384
364
  _param = self._get_function_name_history_serialize(
385
365
  function_id=function_id,
386
- authorization=authorization,
387
366
  _request_auth=_request_auth,
388
367
  _content_type=_content_type,
389
368
  _headers=_headers,
@@ -409,7 +388,6 @@ class FunctionsRenamingHistoryApi:
409
388
  def get_function_name_history_with_http_info(
410
389
  self,
411
390
  function_id: StrictInt,
412
- authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
413
391
  _request_timeout: Union[
414
392
  None,
415
393
  Annotated[StrictFloat, Field(gt=0)],
@@ -429,8 +407,6 @@ class FunctionsRenamingHistoryApi:
429
407
 
430
408
  :param function_id: (required)
431
409
  :type function_id: int
432
- :param authorization: API Key bearer token
433
- :type authorization: str
434
410
  :param _request_timeout: timeout setting for this request. If one
435
411
  number provided, it will be total request
436
412
  timeout. It can also be a pair (tuple) of
@@ -455,7 +431,6 @@ class FunctionsRenamingHistoryApi:
455
431
 
456
432
  _param = self._get_function_name_history_serialize(
457
433
  function_id=function_id,
458
- authorization=authorization,
459
434
  _request_auth=_request_auth,
460
435
  _content_type=_content_type,
461
436
  _headers=_headers,
@@ -481,7 +456,6 @@ class FunctionsRenamingHistoryApi:
481
456
  def get_function_name_history_without_preload_content(
482
457
  self,
483
458
  function_id: StrictInt,
484
- authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
485
459
  _request_timeout: Union[
486
460
  None,
487
461
  Annotated[StrictFloat, Field(gt=0)],
@@ -501,8 +475,6 @@ class FunctionsRenamingHistoryApi:
501
475
 
502
476
  :param function_id: (required)
503
477
  :type function_id: int
504
- :param authorization: API Key bearer token
505
- :type authorization: str
506
478
  :param _request_timeout: timeout setting for this request. If one
507
479
  number provided, it will be total request
508
480
  timeout. It can also be a pair (tuple) of
@@ -527,7 +499,6 @@ class FunctionsRenamingHistoryApi:
527
499
 
528
500
  _param = self._get_function_name_history_serialize(
529
501
  function_id=function_id,
530
- authorization=authorization,
531
502
  _request_auth=_request_auth,
532
503
  _content_type=_content_type,
533
504
  _headers=_headers,
@@ -548,7 +519,6 @@ class FunctionsRenamingHistoryApi:
548
519
  def _get_function_name_history_serialize(
549
520
  self,
550
521
  function_id,
551
- authorization,
552
522
  _request_auth,
553
523
  _content_type,
554
524
  _headers,
@@ -574,8 +544,6 @@ class FunctionsRenamingHistoryApi:
574
544
  _path_params['function_id'] = function_id
575
545
  # process the query parameters
576
546
  # process the header parameters
577
- if authorization is not None:
578
- _header_params['authorization'] = authorization
579
547
  # process the form parameters
580
548
  # process the body parameter
581
549
 
@@ -617,7 +585,6 @@ class FunctionsRenamingHistoryApi:
617
585
  self,
618
586
  function_id: StrictInt,
619
587
  function_rename: FunctionRename,
620
- authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
621
588
  _request_timeout: Union[
622
589
  None,
623
590
  Annotated[StrictFloat, Field(gt=0)],
@@ -639,8 +606,6 @@ class FunctionsRenamingHistoryApi:
639
606
  :type function_id: int
640
607
  :param function_rename: (required)
641
608
  :type function_rename: FunctionRename
642
- :param authorization: API Key bearer token
643
- :type authorization: str
644
609
  :param _request_timeout: timeout setting for this request. If one
645
610
  number provided, it will be total request
646
611
  timeout. It can also be a pair (tuple) of
@@ -666,7 +631,6 @@ class FunctionsRenamingHistoryApi:
666
631
  _param = self._rename_function_id_serialize(
667
632
  function_id=function_id,
668
633
  function_rename=function_rename,
669
- authorization=authorization,
670
634
  _request_auth=_request_auth,
671
635
  _content_type=_content_type,
672
636
  _headers=_headers,
@@ -693,7 +657,6 @@ class FunctionsRenamingHistoryApi:
693
657
  self,
694
658
  function_id: StrictInt,
695
659
  function_rename: FunctionRename,
696
- authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
697
660
  _request_timeout: Union[
698
661
  None,
699
662
  Annotated[StrictFloat, Field(gt=0)],
@@ -715,8 +678,6 @@ class FunctionsRenamingHistoryApi:
715
678
  :type function_id: int
716
679
  :param function_rename: (required)
717
680
  :type function_rename: FunctionRename
718
- :param authorization: API Key bearer token
719
- :type authorization: str
720
681
  :param _request_timeout: timeout setting for this request. If one
721
682
  number provided, it will be total request
722
683
  timeout. It can also be a pair (tuple) of
@@ -742,7 +703,6 @@ class FunctionsRenamingHistoryApi:
742
703
  _param = self._rename_function_id_serialize(
743
704
  function_id=function_id,
744
705
  function_rename=function_rename,
745
- authorization=authorization,
746
706
  _request_auth=_request_auth,
747
707
  _content_type=_content_type,
748
708
  _headers=_headers,
@@ -769,7 +729,6 @@ class FunctionsRenamingHistoryApi:
769
729
  self,
770
730
  function_id: StrictInt,
771
731
  function_rename: FunctionRename,
772
- authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
773
732
  _request_timeout: Union[
774
733
  None,
775
734
  Annotated[StrictFloat, Field(gt=0)],
@@ -791,8 +750,6 @@ class FunctionsRenamingHistoryApi:
791
750
  :type function_id: int
792
751
  :param function_rename: (required)
793
752
  :type function_rename: FunctionRename
794
- :param authorization: API Key bearer token
795
- :type authorization: str
796
753
  :param _request_timeout: timeout setting for this request. If one
797
754
  number provided, it will be total request
798
755
  timeout. It can also be a pair (tuple) of
@@ -818,7 +775,6 @@ class FunctionsRenamingHistoryApi:
818
775
  _param = self._rename_function_id_serialize(
819
776
  function_id=function_id,
820
777
  function_rename=function_rename,
821
- authorization=authorization,
822
778
  _request_auth=_request_auth,
823
779
  _content_type=_content_type,
824
780
  _headers=_headers,
@@ -840,7 +796,6 @@ class FunctionsRenamingHistoryApi:
840
796
  self,
841
797
  function_id,
842
798
  function_rename,
843
- authorization,
844
799
  _request_auth,
845
800
  _content_type,
846
801
  _headers,
@@ -866,8 +821,6 @@ class FunctionsRenamingHistoryApi:
866
821
  _path_params['function_id'] = function_id
867
822
  # process the query parameters
868
823
  # process the header parameters
869
- if authorization is not None:
870
- _header_params['authorization'] = authorization
871
824
  # process the form parameters
872
825
  # process the body parameter
873
826
  if function_rename is not None:
@@ -924,7 +877,6 @@ class FunctionsRenamingHistoryApi:
924
877
  self,
925
878
  function_id: StrictInt,
926
879
  history_id: StrictInt,
927
- authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
928
880
  _request_timeout: Union[
929
881
  None,
930
882
  Annotated[StrictFloat, Field(gt=0)],
@@ -946,8 +898,6 @@ class FunctionsRenamingHistoryApi:
946
898
  :type function_id: int
947
899
  :param history_id: (required)
948
900
  :type history_id: int
949
- :param authorization: API Key bearer token
950
- :type authorization: str
951
901
  :param _request_timeout: timeout setting for this request. If one
952
902
  number provided, it will be total request
953
903
  timeout. It can also be a pair (tuple) of
@@ -973,7 +923,6 @@ class FunctionsRenamingHistoryApi:
973
923
  _param = self._revert_function_name_serialize(
974
924
  function_id=function_id,
975
925
  history_id=history_id,
976
- authorization=authorization,
977
926
  _request_auth=_request_auth,
978
927
  _content_type=_content_type,
979
928
  _headers=_headers,
@@ -1000,7 +949,6 @@ class FunctionsRenamingHistoryApi:
1000
949
  self,
1001
950
  function_id: StrictInt,
1002
951
  history_id: StrictInt,
1003
- authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
1004
952
  _request_timeout: Union[
1005
953
  None,
1006
954
  Annotated[StrictFloat, Field(gt=0)],
@@ -1022,8 +970,6 @@ class FunctionsRenamingHistoryApi:
1022
970
  :type function_id: int
1023
971
  :param history_id: (required)
1024
972
  :type history_id: int
1025
- :param authorization: API Key bearer token
1026
- :type authorization: str
1027
973
  :param _request_timeout: timeout setting for this request. If one
1028
974
  number provided, it will be total request
1029
975
  timeout. It can also be a pair (tuple) of
@@ -1049,7 +995,6 @@ class FunctionsRenamingHistoryApi:
1049
995
  _param = self._revert_function_name_serialize(
1050
996
  function_id=function_id,
1051
997
  history_id=history_id,
1052
- authorization=authorization,
1053
998
  _request_auth=_request_auth,
1054
999
  _content_type=_content_type,
1055
1000
  _headers=_headers,
@@ -1076,7 +1021,6 @@ class FunctionsRenamingHistoryApi:
1076
1021
  self,
1077
1022
  function_id: StrictInt,
1078
1023
  history_id: StrictInt,
1079
- authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
1080
1024
  _request_timeout: Union[
1081
1025
  None,
1082
1026
  Annotated[StrictFloat, Field(gt=0)],
@@ -1098,8 +1042,6 @@ class FunctionsRenamingHistoryApi:
1098
1042
  :type function_id: int
1099
1043
  :param history_id: (required)
1100
1044
  :type history_id: int
1101
- :param authorization: API Key bearer token
1102
- :type authorization: str
1103
1045
  :param _request_timeout: timeout setting for this request. If one
1104
1046
  number provided, it will be total request
1105
1047
  timeout. It can also be a pair (tuple) of
@@ -1125,7 +1067,6 @@ class FunctionsRenamingHistoryApi:
1125
1067
  _param = self._revert_function_name_serialize(
1126
1068
  function_id=function_id,
1127
1069
  history_id=history_id,
1128
- authorization=authorization,
1129
1070
  _request_auth=_request_auth,
1130
1071
  _content_type=_content_type,
1131
1072
  _headers=_headers,
@@ -1147,7 +1088,6 @@ class FunctionsRenamingHistoryApi:
1147
1088
  self,
1148
1089
  function_id,
1149
1090
  history_id,
1150
- authorization,
1151
1091
  _request_auth,
1152
1092
  _content_type,
1153
1093
  _headers,
@@ -1175,8 +1115,6 @@ class FunctionsRenamingHistoryApi:
1175
1115
  _path_params['history_id'] = history_id
1176
1116
  # process the query parameters
1177
1117
  # process the header parameters
1178
- if authorization is not None:
1179
- _header_params['authorization'] = authorization
1180
1118
  # process the form parameters
1181
1119
  # process the body parameter
1182
1120
 
@@ -15,9 +15,6 @@ from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
15
15
  from typing import Any, Dict, List, Optional, Tuple, Union
16
16
  from typing_extensions import Annotated
17
17
 
18
- from pydantic import Field, StrictStr
19
- from typing import Optional
20
- from typing_extensions import Annotated
21
18
  from revengai.models.base_response_models_response import BaseResponseModelsResponse
22
19
 
23
20
  from revengai.api_client import ApiClient, RequestSerialized
@@ -41,7 +38,6 @@ class ModelsApi:
41
38
  @validate_call
42
39
  def get_models(
43
40
  self,
44
- authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
45
41
  _request_timeout: Union[
46
42
  None,
47
43
  Annotated[StrictFloat, Field(gt=0)],
@@ -59,8 +55,6 @@ class ModelsApi:
59
55
 
60
56
  Gets active models available for analysis.
61
57
 
62
- :param authorization: API Key bearer token
63
- :type authorization: str
64
58
  :param _request_timeout: timeout setting for this request. If one
65
59
  number provided, it will be total request
66
60
  timeout. It can also be a pair (tuple) of
@@ -84,7 +78,6 @@ class ModelsApi:
84
78
  """ # noqa: E501
85
79
 
86
80
  _param = self._get_models_serialize(
87
- authorization=authorization,
88
81
  _request_auth=_request_auth,
89
82
  _content_type=_content_type,
90
83
  _headers=_headers,
@@ -109,7 +102,6 @@ class ModelsApi:
109
102
  @validate_call
110
103
  def get_models_with_http_info(
111
104
  self,
112
- authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
113
105
  _request_timeout: Union[
114
106
  None,
115
107
  Annotated[StrictFloat, Field(gt=0)],
@@ -127,8 +119,6 @@ class ModelsApi:
127
119
 
128
120
  Gets active models available for analysis.
129
121
 
130
- :param authorization: API Key bearer token
131
- :type authorization: str
132
122
  :param _request_timeout: timeout setting for this request. If one
133
123
  number provided, it will be total request
134
124
  timeout. It can also be a pair (tuple) of
@@ -152,7 +142,6 @@ class ModelsApi:
152
142
  """ # noqa: E501
153
143
 
154
144
  _param = self._get_models_serialize(
155
- authorization=authorization,
156
145
  _request_auth=_request_auth,
157
146
  _content_type=_content_type,
158
147
  _headers=_headers,
@@ -177,7 +166,6 @@ class ModelsApi:
177
166
  @validate_call
178
167
  def get_models_without_preload_content(
179
168
  self,
180
- authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
181
169
  _request_timeout: Union[
182
170
  None,
183
171
  Annotated[StrictFloat, Field(gt=0)],
@@ -195,8 +183,6 @@ class ModelsApi:
195
183
 
196
184
  Gets active models available for analysis.
197
185
 
198
- :param authorization: API Key bearer token
199
- :type authorization: str
200
186
  :param _request_timeout: timeout setting for this request. If one
201
187
  number provided, it will be total request
202
188
  timeout. It can also be a pair (tuple) of
@@ -220,7 +206,6 @@ class ModelsApi:
220
206
  """ # noqa: E501
221
207
 
222
208
  _param = self._get_models_serialize(
223
- authorization=authorization,
224
209
  _request_auth=_request_auth,
225
210
  _content_type=_content_type,
226
211
  _headers=_headers,
@@ -240,7 +225,6 @@ class ModelsApi:
240
225
 
241
226
  def _get_models_serialize(
242
227
  self,
243
- authorization,
244
228
  _request_auth,
245
229
  _content_type,
246
230
  _headers,
@@ -264,8 +248,6 @@ class ModelsApi:
264
248
  # process the path parameters
265
249
  # process the query parameters
266
250
  # process the header parameters
267
- if authorization is not None:
268
- _header_params['authorization'] = authorization
269
251
  # process the form parameters
270
252
  # process the body parameter
271
253