crypticorn 2.5.2__py3-none-any.whl → 2.5.3__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.
Files changed (87) hide show
  1. crypticorn/cli/init.py +3 -0
  2. crypticorn/common/__init__.py +1 -1
  3. crypticorn/common/errors.py +2 -17
  4. crypticorn/common/mixins.py +19 -0
  5. crypticorn/common/scopes.py +4 -20
  6. crypticorn/common/status_router.py +9 -7
  7. crypticorn/common/utils.py +12 -6
  8. crypticorn/hive/client/__init__.py +1 -5
  9. crypticorn/hive/client/api/data_api.py +1 -33
  10. crypticorn/hive/client/api/models_api.py +8 -104
  11. crypticorn/hive/client/api/status_api.py +481 -9
  12. crypticorn/hive/client/configuration.py +12 -4
  13. crypticorn/hive/client/models/__init__.py +1 -5
  14. crypticorn/hive/client/models/coins.py +0 -1
  15. crypticorn/hive/client/models/data_version.py +0 -1
  16. crypticorn/hive/client/models/{validation_error.py → exception_detail.py} +35 -26
  17. crypticorn/hive/client/rest.py +4 -1
  18. crypticorn/klines/client/api/status_api.py +481 -6
  19. crypticorn/klines/client/api/udf_api.py +0 -227
  20. crypticorn/metrics/client/api/status_api.py +476 -1
  21. crypticorn/pay/client/__init__.py +3 -8
  22. crypticorn/pay/client/api/now_payments_api.py +14 -17
  23. crypticorn/pay/client/api/payments_api.py +2 -11
  24. crypticorn/pay/client/api/products_api.py +2 -11
  25. crypticorn/pay/client/api/status_api.py +483 -8
  26. crypticorn/pay/client/api_client.py +2 -2
  27. crypticorn/pay/client/configuration.py +3 -3
  28. crypticorn/pay/client/exceptions.py +2 -2
  29. crypticorn/pay/client/models/__init__.py +3 -8
  30. crypticorn/pay/client/models/{validation_error.py → exception_detail.py} +37 -28
  31. crypticorn/pay/client/models/now_create_invoice_req.py +2 -2
  32. crypticorn/pay/client/models/now_create_invoice_res.py +2 -2
  33. crypticorn/pay/client/models/payment.py +2 -2
  34. crypticorn/pay/client/models/payment_status.py +2 -2
  35. crypticorn/pay/client/models/product_create.py +2 -2
  36. crypticorn/pay/client/models/product_read.py +2 -2
  37. crypticorn/pay/client/models/product_sub_read.py +2 -2
  38. crypticorn/pay/client/models/product_update.py +2 -2
  39. crypticorn/pay/client/models/scope.py +2 -2
  40. crypticorn/pay/client/models/services.py +2 -2
  41. crypticorn/pay/client/rest.py +2 -2
  42. crypticorn/trade/client/__init__.py +3 -7
  43. crypticorn/trade/client/api/api_keys_api.py +5 -20
  44. crypticorn/trade/client/api/bots_api.py +7 -19
  45. crypticorn/trade/client/api/exchanges_api.py +2 -2
  46. crypticorn/trade/client/api/futures_trading_panel_api.py +10 -22
  47. crypticorn/trade/client/api/notifications_api.py +10 -25
  48. crypticorn/trade/client/api/orders_api.py +2 -5
  49. crypticorn/trade/client/api/status_api.py +483 -8
  50. crypticorn/trade/client/api/strategies_api.py +5 -17
  51. crypticorn/trade/client/api/trading_actions_api.py +2 -11
  52. crypticorn/trade/client/api_client.py +2 -2
  53. crypticorn/trade/client/configuration.py +3 -3
  54. crypticorn/trade/client/exceptions.py +2 -2
  55. crypticorn/trade/client/models/__init__.py +3 -7
  56. crypticorn/trade/client/models/action_model.py +2 -2
  57. crypticorn/trade/client/models/bot_model.py +2 -2
  58. crypticorn/trade/client/models/bot_status.py +2 -2
  59. crypticorn/trade/client/models/{validation_error.py → exception_detail.py} +37 -28
  60. crypticorn/trade/client/models/exchange_key_model.py +2 -2
  61. crypticorn/trade/client/models/execution_ids.py +2 -2
  62. crypticorn/trade/client/models/futures_balance.py +2 -2
  63. crypticorn/trade/client/models/futures_trading_action.py +2 -2
  64. crypticorn/trade/client/models/margin_mode.py +2 -2
  65. crypticorn/trade/client/models/notification_model.py +2 -2
  66. crypticorn/trade/client/models/order_model.py +2 -2
  67. crypticorn/trade/client/models/order_status.py +2 -2
  68. crypticorn/trade/client/models/post_futures_action.py +2 -2
  69. crypticorn/trade/client/models/spot_trading_action.py +2 -2
  70. crypticorn/trade/client/models/strategy_exchange_info.py +2 -2
  71. crypticorn/trade/client/models/strategy_model_input.py +2 -2
  72. crypticorn/trade/client/models/strategy_model_output.py +2 -2
  73. crypticorn/trade/client/models/tpsl.py +2 -2
  74. crypticorn/trade/client/models/trading_action_type.py +2 -2
  75. crypticorn/trade/client/rest.py +2 -2
  76. {crypticorn-2.5.2.dist-info → crypticorn-2.5.3.dist-info}/METADATA +1 -1
  77. {crypticorn-2.5.2.dist-info → crypticorn-2.5.3.dist-info}/RECORD +80 -87
  78. crypticorn/hive/client/models/http_validation_error.py +0 -99
  79. crypticorn/hive/client/models/validation_error_loc_inner.py +0 -159
  80. crypticorn/pay/client/models/http_validation_error.py +0 -99
  81. crypticorn/pay/client/models/now_api_status_res.py +0 -83
  82. crypticorn/pay/client/models/validation_error_loc_inner.py +0 -159
  83. crypticorn/trade/client/models/http_validation_error.py +0 -99
  84. crypticorn/trade/client/models/validation_error_loc_inner.py +0 -159
  85. {crypticorn-2.5.2.dist-info → crypticorn-2.5.3.dist-info}/WHEEL +0 -0
  86. {crypticorn-2.5.2.dist-info → crypticorn-2.5.3.dist-info}/entry_points.txt +0 -0
  87. {crypticorn-2.5.2.dist-info → crypticorn-2.5.3.dist-info}/top_level.txt +0 -0
@@ -46,7 +46,6 @@ class ModelsApi:
46
46
  async def create_model(
47
47
  self,
48
48
  model_create: ModelCreate,
49
- access_token: Optional[StrictStr] = None,
50
49
  _request_timeout: Union[
51
50
  None,
52
51
  Annotated[StrictFloat, Field(gt=0)],
@@ -65,8 +64,6 @@ class ModelsApi:
65
64
 
66
65
  :param model_create: (required)
67
66
  :type model_create: ModelCreate
68
- :param access_token:
69
- :type access_token: str
70
67
  :param _request_timeout: timeout setting for this request. If one
71
68
  number provided, it will be total request
72
69
  timeout. It can also be a pair (tuple) of
@@ -91,7 +88,6 @@ class ModelsApi:
91
88
 
92
89
  _param = self._create_model_serialize(
93
90
  model_create=model_create,
94
- access_token=access_token,
95
91
  _request_auth=_request_auth,
96
92
  _content_type=_content_type,
97
93
  _headers=_headers,
@@ -99,8 +95,7 @@ class ModelsApi:
99
95
  )
100
96
 
101
97
  _response_types_map: Dict[str, Optional[str]] = {
102
- "200": "Model",
103
- "422": "HTTPValidationError",
98
+ "201": "Model",
104
99
  }
105
100
  response_data = await self.api_client.call_api(
106
101
  *_param, _request_timeout=_request_timeout
@@ -115,7 +110,6 @@ class ModelsApi:
115
110
  async def create_model_with_http_info(
116
111
  self,
117
112
  model_create: ModelCreate,
118
- access_token: Optional[StrictStr] = None,
119
113
  _request_timeout: Union[
120
114
  None,
121
115
  Annotated[StrictFloat, Field(gt=0)],
@@ -134,8 +128,6 @@ class ModelsApi:
134
128
 
135
129
  :param model_create: (required)
136
130
  :type model_create: ModelCreate
137
- :param access_token:
138
- :type access_token: str
139
131
  :param _request_timeout: timeout setting for this request. If one
140
132
  number provided, it will be total request
141
133
  timeout. It can also be a pair (tuple) of
@@ -160,7 +152,6 @@ class ModelsApi:
160
152
 
161
153
  _param = self._create_model_serialize(
162
154
  model_create=model_create,
163
- access_token=access_token,
164
155
  _request_auth=_request_auth,
165
156
  _content_type=_content_type,
166
157
  _headers=_headers,
@@ -168,8 +159,7 @@ class ModelsApi:
168
159
  )
169
160
 
170
161
  _response_types_map: Dict[str, Optional[str]] = {
171
- "200": "Model",
172
- "422": "HTTPValidationError",
162
+ "201": "Model",
173
163
  }
174
164
  response_data = await self.api_client.call_api(
175
165
  *_param, _request_timeout=_request_timeout
@@ -184,7 +174,6 @@ class ModelsApi:
184
174
  async def create_model_without_preload_content(
185
175
  self,
186
176
  model_create: ModelCreate,
187
- access_token: Optional[StrictStr] = None,
188
177
  _request_timeout: Union[
189
178
  None,
190
179
  Annotated[StrictFloat, Field(gt=0)],
@@ -203,8 +192,6 @@ class ModelsApi:
203
192
 
204
193
  :param model_create: (required)
205
194
  :type model_create: ModelCreate
206
- :param access_token:
207
- :type access_token: str
208
195
  :param _request_timeout: timeout setting for this request. If one
209
196
  number provided, it will be total request
210
197
  timeout. It can also be a pair (tuple) of
@@ -229,7 +216,6 @@ class ModelsApi:
229
216
 
230
217
  _param = self._create_model_serialize(
231
218
  model_create=model_create,
232
- access_token=access_token,
233
219
  _request_auth=_request_auth,
234
220
  _content_type=_content_type,
235
221
  _headers=_headers,
@@ -237,8 +223,7 @@ class ModelsApi:
237
223
  )
238
224
 
239
225
  _response_types_map: Dict[str, Optional[str]] = {
240
- "200": "Model",
241
- "422": "HTTPValidationError",
226
+ "201": "Model",
242
227
  }
243
228
  response_data = await self.api_client.call_api(
244
229
  *_param, _request_timeout=_request_timeout
@@ -248,7 +233,6 @@ class ModelsApi:
248
233
  def _create_model_serialize(
249
234
  self,
250
235
  model_create,
251
- access_token,
252
236
  _request_auth,
253
237
  _content_type,
254
238
  _headers,
@@ -314,7 +298,6 @@ class ModelsApi:
314
298
  async def delete_model(
315
299
  self,
316
300
  id: Annotated[StrictInt, Field(description="Model ID to delete")],
317
- access_token: Optional[StrictStr] = None,
318
301
  _request_timeout: Union[
319
302
  None,
320
303
  Annotated[StrictFloat, Field(gt=0)],
@@ -326,15 +309,13 @@ class ModelsApi:
326
309
  _content_type: Optional[StrictStr] = None,
327
310
  _headers: Optional[Dict[StrictStr, Any]] = None,
328
311
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
329
- ) -> object:
312
+ ) -> None:
330
313
  """Delete Model
331
314
 
332
315
  Delete a model
333
316
 
334
317
  :param id: Model ID to delete (required)
335
318
  :type id: int
336
- :param access_token:
337
- :type access_token: str
338
319
  :param _request_timeout: timeout setting for this request. If one
339
320
  number provided, it will be total request
340
321
  timeout. It can also be a pair (tuple) of
@@ -359,7 +340,6 @@ class ModelsApi:
359
340
 
360
341
  _param = self._delete_model_serialize(
361
342
  id=id,
362
- access_token=access_token,
363
343
  _request_auth=_request_auth,
364
344
  _content_type=_content_type,
365
345
  _headers=_headers,
@@ -367,8 +347,7 @@ class ModelsApi:
367
347
  )
368
348
 
369
349
  _response_types_map: Dict[str, Optional[str]] = {
370
- "200": "object",
371
- "422": "HTTPValidationError",
350
+ "204": None,
372
351
  }
373
352
  response_data = await self.api_client.call_api(
374
353
  *_param, _request_timeout=_request_timeout
@@ -383,7 +362,6 @@ class ModelsApi:
383
362
  async def delete_model_with_http_info(
384
363
  self,
385
364
  id: Annotated[StrictInt, Field(description="Model ID to delete")],
386
- access_token: Optional[StrictStr] = None,
387
365
  _request_timeout: Union[
388
366
  None,
389
367
  Annotated[StrictFloat, Field(gt=0)],
@@ -395,15 +373,13 @@ class ModelsApi:
395
373
  _content_type: Optional[StrictStr] = None,
396
374
  _headers: Optional[Dict[StrictStr, Any]] = None,
397
375
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
398
- ) -> ApiResponse[object]:
376
+ ) -> ApiResponse[None]:
399
377
  """Delete Model
400
378
 
401
379
  Delete a model
402
380
 
403
381
  :param id: Model ID to delete (required)
404
382
  :type id: int
405
- :param access_token:
406
- :type access_token: str
407
383
  :param _request_timeout: timeout setting for this request. If one
408
384
  number provided, it will be total request
409
385
  timeout. It can also be a pair (tuple) of
@@ -428,7 +404,6 @@ class ModelsApi:
428
404
 
429
405
  _param = self._delete_model_serialize(
430
406
  id=id,
431
- access_token=access_token,
432
407
  _request_auth=_request_auth,
433
408
  _content_type=_content_type,
434
409
  _headers=_headers,
@@ -436,8 +411,7 @@ class ModelsApi:
436
411
  )
437
412
 
438
413
  _response_types_map: Dict[str, Optional[str]] = {
439
- "200": "object",
440
- "422": "HTTPValidationError",
414
+ "204": None,
441
415
  }
442
416
  response_data = await self.api_client.call_api(
443
417
  *_param, _request_timeout=_request_timeout
@@ -452,7 +426,6 @@ class ModelsApi:
452
426
  async def delete_model_without_preload_content(
453
427
  self,
454
428
  id: Annotated[StrictInt, Field(description="Model ID to delete")],
455
- access_token: Optional[StrictStr] = None,
456
429
  _request_timeout: Union[
457
430
  None,
458
431
  Annotated[StrictFloat, Field(gt=0)],
@@ -471,8 +444,6 @@ class ModelsApi:
471
444
 
472
445
  :param id: Model ID to delete (required)
473
446
  :type id: int
474
- :param access_token:
475
- :type access_token: str
476
447
  :param _request_timeout: timeout setting for this request. If one
477
448
  number provided, it will be total request
478
449
  timeout. It can also be a pair (tuple) of
@@ -497,7 +468,6 @@ class ModelsApi:
497
468
 
498
469
  _param = self._delete_model_serialize(
499
470
  id=id,
500
- access_token=access_token,
501
471
  _request_auth=_request_auth,
502
472
  _content_type=_content_type,
503
473
  _headers=_headers,
@@ -505,8 +475,7 @@ class ModelsApi:
505
475
  )
506
476
 
507
477
  _response_types_map: Dict[str, Optional[str]] = {
508
- "200": "object",
509
- "422": "HTTPValidationError",
478
+ "204": None,
510
479
  }
511
480
  response_data = await self.api_client.call_api(
512
481
  *_param, _request_timeout=_request_timeout
@@ -516,7 +485,6 @@ class ModelsApi:
516
485
  def _delete_model_serialize(
517
486
  self,
518
487
  id,
519
- access_token,
520
488
  _request_auth,
521
489
  _content_type,
522
490
  _headers,
@@ -576,7 +544,6 @@ class ModelsApi:
576
544
  version: Annotated[
577
545
  Optional[DataVersion], Field(description="Data version to evaluate against")
578
546
  ] = None,
579
- access_token: Optional[StrictStr] = None,
580
547
  _request_timeout: Union[
581
548
  None,
582
549
  Annotated[StrictFloat, Field(gt=0)],
@@ -599,8 +566,6 @@ class ModelsApi:
599
566
  :type request_body: List[object]
600
567
  :param version: Data version to evaluate against
601
568
  :type version: DataVersion
602
- :param access_token:
603
- :type access_token: str
604
569
  :param _request_timeout: timeout setting for this request. If one
605
570
  number provided, it will be total request
606
571
  timeout. It can also be a pair (tuple) of
@@ -627,7 +592,6 @@ class ModelsApi:
627
592
  id=id,
628
593
  request_body=request_body,
629
594
  version=version,
630
- access_token=access_token,
631
595
  _request_auth=_request_auth,
632
596
  _content_type=_content_type,
633
597
  _headers=_headers,
@@ -636,7 +600,6 @@ class ModelsApi:
636
600
 
637
601
  _response_types_map: Dict[str, Optional[str]] = {
638
602
  "200": "EvaluationResponse",
639
- "422": "HTTPValidationError",
640
603
  }
641
604
  response_data = await self.api_client.call_api(
642
605
  *_param, _request_timeout=_request_timeout
@@ -655,7 +618,6 @@ class ModelsApi:
655
618
  version: Annotated[
656
619
  Optional[DataVersion], Field(description="Data version to evaluate against")
657
620
  ] = None,
658
- access_token: Optional[StrictStr] = None,
659
621
  _request_timeout: Union[
660
622
  None,
661
623
  Annotated[StrictFloat, Field(gt=0)],
@@ -678,8 +640,6 @@ class ModelsApi:
678
640
  :type request_body: List[object]
679
641
  :param version: Data version to evaluate against
680
642
  :type version: DataVersion
681
- :param access_token:
682
- :type access_token: str
683
643
  :param _request_timeout: timeout setting for this request. If one
684
644
  number provided, it will be total request
685
645
  timeout. It can also be a pair (tuple) of
@@ -706,7 +666,6 @@ class ModelsApi:
706
666
  id=id,
707
667
  request_body=request_body,
708
668
  version=version,
709
- access_token=access_token,
710
669
  _request_auth=_request_auth,
711
670
  _content_type=_content_type,
712
671
  _headers=_headers,
@@ -715,7 +674,6 @@ class ModelsApi:
715
674
 
716
675
  _response_types_map: Dict[str, Optional[str]] = {
717
676
  "200": "EvaluationResponse",
718
- "422": "HTTPValidationError",
719
677
  }
720
678
  response_data = await self.api_client.call_api(
721
679
  *_param, _request_timeout=_request_timeout
@@ -734,7 +692,6 @@ class ModelsApi:
734
692
  version: Annotated[
735
693
  Optional[DataVersion], Field(description="Data version to evaluate against")
736
694
  ] = None,
737
- access_token: Optional[StrictStr] = None,
738
695
  _request_timeout: Union[
739
696
  None,
740
697
  Annotated[StrictFloat, Field(gt=0)],
@@ -757,8 +714,6 @@ class ModelsApi:
757
714
  :type request_body: List[object]
758
715
  :param version: Data version to evaluate against
759
716
  :type version: DataVersion
760
- :param access_token:
761
- :type access_token: str
762
717
  :param _request_timeout: timeout setting for this request. If one
763
718
  number provided, it will be total request
764
719
  timeout. It can also be a pair (tuple) of
@@ -785,7 +740,6 @@ class ModelsApi:
785
740
  id=id,
786
741
  request_body=request_body,
787
742
  version=version,
788
- access_token=access_token,
789
743
  _request_auth=_request_auth,
790
744
  _content_type=_content_type,
791
745
  _headers=_headers,
@@ -794,7 +748,6 @@ class ModelsApi:
794
748
 
795
749
  _response_types_map: Dict[str, Optional[str]] = {
796
750
  "200": "EvaluationResponse",
797
- "422": "HTTPValidationError",
798
751
  }
799
752
  response_data = await self.api_client.call_api(
800
753
  *_param, _request_timeout=_request_timeout
@@ -806,7 +759,6 @@ class ModelsApi:
806
759
  id,
807
760
  request_body,
808
761
  version,
809
- access_token,
810
762
  _request_auth,
811
763
  _content_type,
812
764
  _headers,
@@ -879,7 +831,6 @@ class ModelsApi:
879
831
  @validate_call
880
832
  async def get_all_models(
881
833
  self,
882
- access_token: Optional[StrictStr] = None,
883
834
  _request_timeout: Union[
884
835
  None,
885
836
  Annotated[StrictFloat, Field(gt=0)],
@@ -896,8 +847,6 @@ class ModelsApi:
896
847
 
897
848
  List all models
898
849
 
899
- :param access_token:
900
- :type access_token: str
901
850
  :param _request_timeout: timeout setting for this request. If one
902
851
  number provided, it will be total request
903
852
  timeout. It can also be a pair (tuple) of
@@ -921,7 +870,6 @@ class ModelsApi:
921
870
  """ # noqa: E501
922
871
 
923
872
  _param = self._get_all_models_serialize(
924
- access_token=access_token,
925
873
  _request_auth=_request_auth,
926
874
  _content_type=_content_type,
927
875
  _headers=_headers,
@@ -930,7 +878,6 @@ class ModelsApi:
930
878
 
931
879
  _response_types_map: Dict[str, Optional[str]] = {
932
880
  "200": "List[Model]",
933
- "422": "HTTPValidationError",
934
881
  }
935
882
  response_data = await self.api_client.call_api(
936
883
  *_param, _request_timeout=_request_timeout
@@ -944,7 +891,6 @@ class ModelsApi:
944
891
  @validate_call
945
892
  async def get_all_models_with_http_info(
946
893
  self,
947
- access_token: Optional[StrictStr] = None,
948
894
  _request_timeout: Union[
949
895
  None,
950
896
  Annotated[StrictFloat, Field(gt=0)],
@@ -961,8 +907,6 @@ class ModelsApi:
961
907
 
962
908
  List all models
963
909
 
964
- :param access_token:
965
- :type access_token: str
966
910
  :param _request_timeout: timeout setting for this request. If one
967
911
  number provided, it will be total request
968
912
  timeout. It can also be a pair (tuple) of
@@ -986,7 +930,6 @@ class ModelsApi:
986
930
  """ # noqa: E501
987
931
 
988
932
  _param = self._get_all_models_serialize(
989
- access_token=access_token,
990
933
  _request_auth=_request_auth,
991
934
  _content_type=_content_type,
992
935
  _headers=_headers,
@@ -995,7 +938,6 @@ class ModelsApi:
995
938
 
996
939
  _response_types_map: Dict[str, Optional[str]] = {
997
940
  "200": "List[Model]",
998
- "422": "HTTPValidationError",
999
941
  }
1000
942
  response_data = await self.api_client.call_api(
1001
943
  *_param, _request_timeout=_request_timeout
@@ -1009,7 +951,6 @@ class ModelsApi:
1009
951
  @validate_call
1010
952
  async def get_all_models_without_preload_content(
1011
953
  self,
1012
- access_token: Optional[StrictStr] = None,
1013
954
  _request_timeout: Union[
1014
955
  None,
1015
956
  Annotated[StrictFloat, Field(gt=0)],
@@ -1026,8 +967,6 @@ class ModelsApi:
1026
967
 
1027
968
  List all models
1028
969
 
1029
- :param access_token:
1030
- :type access_token: str
1031
970
  :param _request_timeout: timeout setting for this request. If one
1032
971
  number provided, it will be total request
1033
972
  timeout. It can also be a pair (tuple) of
@@ -1051,7 +990,6 @@ class ModelsApi:
1051
990
  """ # noqa: E501
1052
991
 
1053
992
  _param = self._get_all_models_serialize(
1054
- access_token=access_token,
1055
993
  _request_auth=_request_auth,
1056
994
  _content_type=_content_type,
1057
995
  _headers=_headers,
@@ -1060,7 +998,6 @@ class ModelsApi:
1060
998
 
1061
999
  _response_types_map: Dict[str, Optional[str]] = {
1062
1000
  "200": "List[Model]",
1063
- "422": "HTTPValidationError",
1064
1001
  }
1065
1002
  response_data = await self.api_client.call_api(
1066
1003
  *_param, _request_timeout=_request_timeout
@@ -1069,7 +1006,6 @@ class ModelsApi:
1069
1006
 
1070
1007
  def _get_all_models_serialize(
1071
1008
  self,
1072
- access_token,
1073
1009
  _request_auth,
1074
1010
  _content_type,
1075
1011
  _headers,
@@ -1124,7 +1060,6 @@ class ModelsApi:
1124
1060
  self,
1125
1061
  id: Optional[StrictInt] = None,
1126
1062
  name: Optional[StrictStr] = None,
1127
- access_token: Optional[StrictStr] = None,
1128
1063
  _request_timeout: Union[
1129
1064
  None,
1130
1065
  Annotated[StrictFloat, Field(gt=0)],
@@ -1145,8 +1080,6 @@ class ModelsApi:
1145
1080
  :type id: int
1146
1081
  :param name:
1147
1082
  :type name: str
1148
- :param access_token:
1149
- :type access_token: str
1150
1083
  :param _request_timeout: timeout setting for this request. If one
1151
1084
  number provided, it will be total request
1152
1085
  timeout. It can also be a pair (tuple) of
@@ -1172,7 +1105,6 @@ class ModelsApi:
1172
1105
  _param = self._get_model_serialize(
1173
1106
  id=id,
1174
1107
  name=name,
1175
- access_token=access_token,
1176
1108
  _request_auth=_request_auth,
1177
1109
  _content_type=_content_type,
1178
1110
  _headers=_headers,
@@ -1181,7 +1113,6 @@ class ModelsApi:
1181
1113
 
1182
1114
  _response_types_map: Dict[str, Optional[str]] = {
1183
1115
  "200": "Model",
1184
- "422": "HTTPValidationError",
1185
1116
  }
1186
1117
  response_data = await self.api_client.call_api(
1187
1118
  *_param, _request_timeout=_request_timeout
@@ -1197,7 +1128,6 @@ class ModelsApi:
1197
1128
  self,
1198
1129
  id: Optional[StrictInt] = None,
1199
1130
  name: Optional[StrictStr] = None,
1200
- access_token: Optional[StrictStr] = None,
1201
1131
  _request_timeout: Union[
1202
1132
  None,
1203
1133
  Annotated[StrictFloat, Field(gt=0)],
@@ -1218,8 +1148,6 @@ class ModelsApi:
1218
1148
  :type id: int
1219
1149
  :param name:
1220
1150
  :type name: str
1221
- :param access_token:
1222
- :type access_token: str
1223
1151
  :param _request_timeout: timeout setting for this request. If one
1224
1152
  number provided, it will be total request
1225
1153
  timeout. It can also be a pair (tuple) of
@@ -1245,7 +1173,6 @@ class ModelsApi:
1245
1173
  _param = self._get_model_serialize(
1246
1174
  id=id,
1247
1175
  name=name,
1248
- access_token=access_token,
1249
1176
  _request_auth=_request_auth,
1250
1177
  _content_type=_content_type,
1251
1178
  _headers=_headers,
@@ -1254,7 +1181,6 @@ class ModelsApi:
1254
1181
 
1255
1182
  _response_types_map: Dict[str, Optional[str]] = {
1256
1183
  "200": "Model",
1257
- "422": "HTTPValidationError",
1258
1184
  }
1259
1185
  response_data = await self.api_client.call_api(
1260
1186
  *_param, _request_timeout=_request_timeout
@@ -1270,7 +1196,6 @@ class ModelsApi:
1270
1196
  self,
1271
1197
  id: Optional[StrictInt] = None,
1272
1198
  name: Optional[StrictStr] = None,
1273
- access_token: Optional[StrictStr] = None,
1274
1199
  _request_timeout: Union[
1275
1200
  None,
1276
1201
  Annotated[StrictFloat, Field(gt=0)],
@@ -1291,8 +1216,6 @@ class ModelsApi:
1291
1216
  :type id: int
1292
1217
  :param name:
1293
1218
  :type name: str
1294
- :param access_token:
1295
- :type access_token: str
1296
1219
  :param _request_timeout: timeout setting for this request. If one
1297
1220
  number provided, it will be total request
1298
1221
  timeout. It can also be a pair (tuple) of
@@ -1318,7 +1241,6 @@ class ModelsApi:
1318
1241
  _param = self._get_model_serialize(
1319
1242
  id=id,
1320
1243
  name=name,
1321
- access_token=access_token,
1322
1244
  _request_auth=_request_auth,
1323
1245
  _content_type=_content_type,
1324
1246
  _headers=_headers,
@@ -1327,7 +1249,6 @@ class ModelsApi:
1327
1249
 
1328
1250
  _response_types_map: Dict[str, Optional[str]] = {
1329
1251
  "200": "Model",
1330
- "422": "HTTPValidationError",
1331
1252
  }
1332
1253
  response_data = await self.api_client.call_api(
1333
1254
  *_param, _request_timeout=_request_timeout
@@ -1338,7 +1259,6 @@ class ModelsApi:
1338
1259
  self,
1339
1260
  id,
1340
1261
  name,
1341
- access_token,
1342
1262
  _request_auth,
1343
1263
  _content_type,
1344
1264
  _headers,
@@ -1401,7 +1321,6 @@ class ModelsApi:
1401
1321
  self,
1402
1322
  id: Annotated[StrictInt, Field(description="Model ID to update")],
1403
1323
  model_update: ModelUpdate,
1404
- access_token: Optional[StrictStr] = None,
1405
1324
  _request_timeout: Union[
1406
1325
  None,
1407
1326
  Annotated[StrictFloat, Field(gt=0)],
@@ -1422,8 +1341,6 @@ class ModelsApi:
1422
1341
  :type id: int
1423
1342
  :param model_update: (required)
1424
1343
  :type model_update: ModelUpdate
1425
- :param access_token:
1426
- :type access_token: str
1427
1344
  :param _request_timeout: timeout setting for this request. If one
1428
1345
  number provided, it will be total request
1429
1346
  timeout. It can also be a pair (tuple) of
@@ -1449,7 +1366,6 @@ class ModelsApi:
1449
1366
  _param = self._update_model_serialize(
1450
1367
  id=id,
1451
1368
  model_update=model_update,
1452
- access_token=access_token,
1453
1369
  _request_auth=_request_auth,
1454
1370
  _content_type=_content_type,
1455
1371
  _headers=_headers,
@@ -1458,7 +1374,6 @@ class ModelsApi:
1458
1374
 
1459
1375
  _response_types_map: Dict[str, Optional[str]] = {
1460
1376
  "200": "object",
1461
- "422": "HTTPValidationError",
1462
1377
  }
1463
1378
  response_data = await self.api_client.call_api(
1464
1379
  *_param, _request_timeout=_request_timeout
@@ -1474,7 +1389,6 @@ class ModelsApi:
1474
1389
  self,
1475
1390
  id: Annotated[StrictInt, Field(description="Model ID to update")],
1476
1391
  model_update: ModelUpdate,
1477
- access_token: Optional[StrictStr] = None,
1478
1392
  _request_timeout: Union[
1479
1393
  None,
1480
1394
  Annotated[StrictFloat, Field(gt=0)],
@@ -1495,8 +1409,6 @@ class ModelsApi:
1495
1409
  :type id: int
1496
1410
  :param model_update: (required)
1497
1411
  :type model_update: ModelUpdate
1498
- :param access_token:
1499
- :type access_token: str
1500
1412
  :param _request_timeout: timeout setting for this request. If one
1501
1413
  number provided, it will be total request
1502
1414
  timeout. It can also be a pair (tuple) of
@@ -1522,7 +1434,6 @@ class ModelsApi:
1522
1434
  _param = self._update_model_serialize(
1523
1435
  id=id,
1524
1436
  model_update=model_update,
1525
- access_token=access_token,
1526
1437
  _request_auth=_request_auth,
1527
1438
  _content_type=_content_type,
1528
1439
  _headers=_headers,
@@ -1531,7 +1442,6 @@ class ModelsApi:
1531
1442
 
1532
1443
  _response_types_map: Dict[str, Optional[str]] = {
1533
1444
  "200": "object",
1534
- "422": "HTTPValidationError",
1535
1445
  }
1536
1446
  response_data = await self.api_client.call_api(
1537
1447
  *_param, _request_timeout=_request_timeout
@@ -1547,7 +1457,6 @@ class ModelsApi:
1547
1457
  self,
1548
1458
  id: Annotated[StrictInt, Field(description="Model ID to update")],
1549
1459
  model_update: ModelUpdate,
1550
- access_token: Optional[StrictStr] = None,
1551
1460
  _request_timeout: Union[
1552
1461
  None,
1553
1462
  Annotated[StrictFloat, Field(gt=0)],
@@ -1568,8 +1477,6 @@ class ModelsApi:
1568
1477
  :type id: int
1569
1478
  :param model_update: (required)
1570
1479
  :type model_update: ModelUpdate
1571
- :param access_token:
1572
- :type access_token: str
1573
1480
  :param _request_timeout: timeout setting for this request. If one
1574
1481
  number provided, it will be total request
1575
1482
  timeout. It can also be a pair (tuple) of
@@ -1595,7 +1502,6 @@ class ModelsApi:
1595
1502
  _param = self._update_model_serialize(
1596
1503
  id=id,
1597
1504
  model_update=model_update,
1598
- access_token=access_token,
1599
1505
  _request_auth=_request_auth,
1600
1506
  _content_type=_content_type,
1601
1507
  _headers=_headers,
@@ -1604,7 +1510,6 @@ class ModelsApi:
1604
1510
 
1605
1511
  _response_types_map: Dict[str, Optional[str]] = {
1606
1512
  "200": "object",
1607
- "422": "HTTPValidationError",
1608
1513
  }
1609
1514
  response_data = await self.api_client.call_api(
1610
1515
  *_param, _request_timeout=_request_timeout
@@ -1615,7 +1520,6 @@ class ModelsApi:
1615
1520
  self,
1616
1521
  id,
1617
1522
  model_update,
1618
- access_token,
1619
1523
  _request_auth,
1620
1524
  _content_type,
1621
1525
  _headers,