mixpeek 0.18.13__py3-none-any.whl → 0.18.15__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.
- mixpeek/_version.py +3 -3
- mixpeek/assets.py +182 -98
- mixpeek/collections.py +130 -70
- mixpeek/featureextractors.py +26 -14
- mixpeek/features.py +130 -70
- mixpeek/ingestassets.py +78 -42
- mixpeek/namespaces.py +182 -98
- mixpeek/organizations.py +130 -70
- mixpeek/tasks.py +78 -42
- mixpeek/taxonomies.py +78 -42
- mixpeek/taxonomyentities.py +182 -98
- mixpeek/users.py +78 -42
- {mixpeek-0.18.13.dist-info → mixpeek-0.18.15.dist-info}/METADATA +32 -1
- {mixpeek-0.18.13.dist-info → mixpeek-0.18.15.dist-info}/RECORD +15 -15
- {mixpeek-0.18.13.dist-info → mixpeek-0.18.15.dist-info}/WHEEL +0 -0
mixpeek/taxonomyentities.py
CHANGED
@@ -93,20 +93,26 @@ class TaxonomyEntities(BaseSDK):
|
|
93
93
|
retry_config=retry_config,
|
94
94
|
)
|
95
95
|
|
96
|
-
|
96
|
+
response_data: Any = None
|
97
97
|
if utils.match_response(http_res, "200", "application/json"):
|
98
98
|
return utils.unmarshal_json(http_res.text, models.TaskResponse)
|
99
99
|
if utils.match_response(
|
100
100
|
http_res, ["400", "401", "403", "404"], "application/json"
|
101
101
|
):
|
102
|
-
|
103
|
-
|
102
|
+
response_data = utils.unmarshal_json(
|
103
|
+
http_res.text, models.ErrorResponseData
|
104
|
+
)
|
105
|
+
raise models.ErrorResponse(data=response_data)
|
104
106
|
if utils.match_response(http_res, "422", "application/json"):
|
105
|
-
|
106
|
-
|
107
|
+
response_data = utils.unmarshal_json(
|
108
|
+
http_res.text, models.HTTPValidationErrorData
|
109
|
+
)
|
110
|
+
raise models.HTTPValidationError(data=response_data)
|
107
111
|
if utils.match_response(http_res, "500", "application/json"):
|
108
|
-
|
109
|
-
|
112
|
+
response_data = utils.unmarshal_json(
|
113
|
+
http_res.text, models.ErrorResponseData
|
114
|
+
)
|
115
|
+
raise models.ErrorResponse(data=response_data)
|
110
116
|
if utils.match_response(http_res, "4XX", "*"):
|
111
117
|
http_res_text = utils.stream_to_text(http_res)
|
112
118
|
raise models.APIError(
|
@@ -211,20 +217,26 @@ class TaxonomyEntities(BaseSDK):
|
|
211
217
|
retry_config=retry_config,
|
212
218
|
)
|
213
219
|
|
214
|
-
|
220
|
+
response_data: Any = None
|
215
221
|
if utils.match_response(http_res, "200", "application/json"):
|
216
222
|
return utils.unmarshal_json(http_res.text, models.TaskResponse)
|
217
223
|
if utils.match_response(
|
218
224
|
http_res, ["400", "401", "403", "404"], "application/json"
|
219
225
|
):
|
220
|
-
|
221
|
-
|
226
|
+
response_data = utils.unmarshal_json(
|
227
|
+
http_res.text, models.ErrorResponseData
|
228
|
+
)
|
229
|
+
raise models.ErrorResponse(data=response_data)
|
222
230
|
if utils.match_response(http_res, "422", "application/json"):
|
223
|
-
|
224
|
-
|
231
|
+
response_data = utils.unmarshal_json(
|
232
|
+
http_res.text, models.HTTPValidationErrorData
|
233
|
+
)
|
234
|
+
raise models.HTTPValidationError(data=response_data)
|
225
235
|
if utils.match_response(http_res, "500", "application/json"):
|
226
|
-
|
227
|
-
|
236
|
+
response_data = utils.unmarshal_json(
|
237
|
+
http_res.text, models.ErrorResponseData
|
238
|
+
)
|
239
|
+
raise models.ErrorResponse(data=response_data)
|
228
240
|
if utils.match_response(http_res, "4XX", "*"):
|
229
241
|
http_res_text = await utils.stream_to_text_async(http_res)
|
230
242
|
raise models.APIError(
|
@@ -319,20 +331,26 @@ class TaxonomyEntities(BaseSDK):
|
|
319
331
|
retry_config=retry_config,
|
320
332
|
)
|
321
333
|
|
322
|
-
|
334
|
+
response_data: Any = None
|
323
335
|
if utils.match_response(http_res, "200", "application/json"):
|
324
336
|
return utils.unmarshal_json(http_res.text, models.ListTaxonomiesResponse)
|
325
337
|
if utils.match_response(
|
326
338
|
http_res, ["400", "401", "403", "404"], "application/json"
|
327
339
|
):
|
328
|
-
|
329
|
-
|
340
|
+
response_data = utils.unmarshal_json(
|
341
|
+
http_res.text, models.ErrorResponseData
|
342
|
+
)
|
343
|
+
raise models.ErrorResponse(data=response_data)
|
330
344
|
if utils.match_response(http_res, "422", "application/json"):
|
331
|
-
|
332
|
-
|
345
|
+
response_data = utils.unmarshal_json(
|
346
|
+
http_res.text, models.HTTPValidationErrorData
|
347
|
+
)
|
348
|
+
raise models.HTTPValidationError(data=response_data)
|
333
349
|
if utils.match_response(http_res, "500", "application/json"):
|
334
|
-
|
335
|
-
|
350
|
+
response_data = utils.unmarshal_json(
|
351
|
+
http_res.text, models.ErrorResponseData
|
352
|
+
)
|
353
|
+
raise models.ErrorResponse(data=response_data)
|
336
354
|
if utils.match_response(http_res, "4XX", "*"):
|
337
355
|
http_res_text = utils.stream_to_text(http_res)
|
338
356
|
raise models.APIError(
|
@@ -427,20 +445,26 @@ class TaxonomyEntities(BaseSDK):
|
|
427
445
|
retry_config=retry_config,
|
428
446
|
)
|
429
447
|
|
430
|
-
|
448
|
+
response_data: Any = None
|
431
449
|
if utils.match_response(http_res, "200", "application/json"):
|
432
450
|
return utils.unmarshal_json(http_res.text, models.ListTaxonomiesResponse)
|
433
451
|
if utils.match_response(
|
434
452
|
http_res, ["400", "401", "403", "404"], "application/json"
|
435
453
|
):
|
436
|
-
|
437
|
-
|
454
|
+
response_data = utils.unmarshal_json(
|
455
|
+
http_res.text, models.ErrorResponseData
|
456
|
+
)
|
457
|
+
raise models.ErrorResponse(data=response_data)
|
438
458
|
if utils.match_response(http_res, "422", "application/json"):
|
439
|
-
|
440
|
-
|
459
|
+
response_data = utils.unmarshal_json(
|
460
|
+
http_res.text, models.HTTPValidationErrorData
|
461
|
+
)
|
462
|
+
raise models.HTTPValidationError(data=response_data)
|
441
463
|
if utils.match_response(http_res, "500", "application/json"):
|
442
|
-
|
443
|
-
|
464
|
+
response_data = utils.unmarshal_json(
|
465
|
+
http_res.text, models.ErrorResponseData
|
466
|
+
)
|
467
|
+
raise models.ErrorResponse(data=response_data)
|
444
468
|
if utils.match_response(http_res, "4XX", "*"):
|
445
469
|
http_res_text = await utils.stream_to_text_async(http_res)
|
446
470
|
raise models.APIError(
|
@@ -532,20 +556,26 @@ class TaxonomyEntities(BaseSDK):
|
|
532
556
|
retry_config=retry_config,
|
533
557
|
)
|
534
558
|
|
535
|
-
|
559
|
+
response_data: Any = None
|
536
560
|
if utils.match_response(http_res, "200", "application/json"):
|
537
561
|
return utils.unmarshal_json(http_res.text, models.TaxonomyNode)
|
538
562
|
if utils.match_response(
|
539
563
|
http_res, ["400", "401", "403", "404"], "application/json"
|
540
564
|
):
|
541
|
-
|
542
|
-
|
565
|
+
response_data = utils.unmarshal_json(
|
566
|
+
http_res.text, models.ErrorResponseData
|
567
|
+
)
|
568
|
+
raise models.ErrorResponse(data=response_data)
|
543
569
|
if utils.match_response(http_res, "422", "application/json"):
|
544
|
-
|
545
|
-
|
570
|
+
response_data = utils.unmarshal_json(
|
571
|
+
http_res.text, models.HTTPValidationErrorData
|
572
|
+
)
|
573
|
+
raise models.HTTPValidationError(data=response_data)
|
546
574
|
if utils.match_response(http_res, "500", "application/json"):
|
547
|
-
|
548
|
-
|
575
|
+
response_data = utils.unmarshal_json(
|
576
|
+
http_res.text, models.ErrorResponseData
|
577
|
+
)
|
578
|
+
raise models.ErrorResponse(data=response_data)
|
549
579
|
if utils.match_response(http_res, "4XX", "*"):
|
550
580
|
http_res_text = utils.stream_to_text(http_res)
|
551
581
|
raise models.APIError(
|
@@ -637,20 +667,26 @@ class TaxonomyEntities(BaseSDK):
|
|
637
667
|
retry_config=retry_config,
|
638
668
|
)
|
639
669
|
|
640
|
-
|
670
|
+
response_data: Any = None
|
641
671
|
if utils.match_response(http_res, "200", "application/json"):
|
642
672
|
return utils.unmarshal_json(http_res.text, models.TaxonomyNode)
|
643
673
|
if utils.match_response(
|
644
674
|
http_res, ["400", "401", "403", "404"], "application/json"
|
645
675
|
):
|
646
|
-
|
647
|
-
|
676
|
+
response_data = utils.unmarshal_json(
|
677
|
+
http_res.text, models.ErrorResponseData
|
678
|
+
)
|
679
|
+
raise models.ErrorResponse(data=response_data)
|
648
680
|
if utils.match_response(http_res, "422", "application/json"):
|
649
|
-
|
650
|
-
|
681
|
+
response_data = utils.unmarshal_json(
|
682
|
+
http_res.text, models.HTTPValidationErrorData
|
683
|
+
)
|
684
|
+
raise models.HTTPValidationError(data=response_data)
|
651
685
|
if utils.match_response(http_res, "500", "application/json"):
|
652
|
-
|
653
|
-
|
686
|
+
response_data = utils.unmarshal_json(
|
687
|
+
http_res.text, models.ErrorResponseData
|
688
|
+
)
|
689
|
+
raise models.ErrorResponse(data=response_data)
|
654
690
|
if utils.match_response(http_res, "4XX", "*"):
|
655
691
|
http_res_text = await utils.stream_to_text_async(http_res)
|
656
692
|
raise models.APIError(
|
@@ -756,20 +792,26 @@ class TaxonomyEntities(BaseSDK):
|
|
756
792
|
retry_config=retry_config,
|
757
793
|
)
|
758
794
|
|
759
|
-
|
795
|
+
response_data: Any = None
|
760
796
|
if utils.match_response(http_res, "200", "application/json"):
|
761
797
|
return utils.unmarshal_json(http_res.text, models.TaxonomyNode)
|
762
798
|
if utils.match_response(
|
763
799
|
http_res, ["400", "401", "403", "404"], "application/json"
|
764
800
|
):
|
765
|
-
|
766
|
-
|
801
|
+
response_data = utils.unmarshal_json(
|
802
|
+
http_res.text, models.ErrorResponseData
|
803
|
+
)
|
804
|
+
raise models.ErrorResponse(data=response_data)
|
767
805
|
if utils.match_response(http_res, "422", "application/json"):
|
768
|
-
|
769
|
-
|
806
|
+
response_data = utils.unmarshal_json(
|
807
|
+
http_res.text, models.HTTPValidationErrorData
|
808
|
+
)
|
809
|
+
raise models.HTTPValidationError(data=response_data)
|
770
810
|
if utils.match_response(http_res, "500", "application/json"):
|
771
|
-
|
772
|
-
|
811
|
+
response_data = utils.unmarshal_json(
|
812
|
+
http_res.text, models.ErrorResponseData
|
813
|
+
)
|
814
|
+
raise models.ErrorResponse(data=response_data)
|
773
815
|
if utils.match_response(http_res, "4XX", "*"):
|
774
816
|
http_res_text = utils.stream_to_text(http_res)
|
775
817
|
raise models.APIError(
|
@@ -875,20 +917,26 @@ class TaxonomyEntities(BaseSDK):
|
|
875
917
|
retry_config=retry_config,
|
876
918
|
)
|
877
919
|
|
878
|
-
|
920
|
+
response_data: Any = None
|
879
921
|
if utils.match_response(http_res, "200", "application/json"):
|
880
922
|
return utils.unmarshal_json(http_res.text, models.TaxonomyNode)
|
881
923
|
if utils.match_response(
|
882
924
|
http_res, ["400", "401", "403", "404"], "application/json"
|
883
925
|
):
|
884
|
-
|
885
|
-
|
926
|
+
response_data = utils.unmarshal_json(
|
927
|
+
http_res.text, models.ErrorResponseData
|
928
|
+
)
|
929
|
+
raise models.ErrorResponse(data=response_data)
|
886
930
|
if utils.match_response(http_res, "422", "application/json"):
|
887
|
-
|
888
|
-
|
931
|
+
response_data = utils.unmarshal_json(
|
932
|
+
http_res.text, models.HTTPValidationErrorData
|
933
|
+
)
|
934
|
+
raise models.HTTPValidationError(data=response_data)
|
889
935
|
if utils.match_response(http_res, "500", "application/json"):
|
890
|
-
|
891
|
-
|
936
|
+
response_data = utils.unmarshal_json(
|
937
|
+
http_res.text, models.ErrorResponseData
|
938
|
+
)
|
939
|
+
raise models.ErrorResponse(data=response_data)
|
892
940
|
if utils.match_response(http_res, "4XX", "*"):
|
893
941
|
http_res_text = await utils.stream_to_text_async(http_res)
|
894
942
|
raise models.APIError(
|
@@ -1007,20 +1055,26 @@ class TaxonomyEntities(BaseSDK):
|
|
1007
1055
|
retry_config=retry_config,
|
1008
1056
|
)
|
1009
1057
|
|
1010
|
-
|
1058
|
+
response_data: Any = None
|
1011
1059
|
if utils.match_response(http_res, "200", "application/json"):
|
1012
1060
|
return utils.unmarshal_json(http_res.text, models.TaskResponse)
|
1013
1061
|
if utils.match_response(
|
1014
1062
|
http_res, ["400", "401", "403", "404"], "application/json"
|
1015
1063
|
):
|
1016
|
-
|
1017
|
-
|
1064
|
+
response_data = utils.unmarshal_json(
|
1065
|
+
http_res.text, models.ErrorResponseData
|
1066
|
+
)
|
1067
|
+
raise models.ErrorResponse(data=response_data)
|
1018
1068
|
if utils.match_response(http_res, "422", "application/json"):
|
1019
|
-
|
1020
|
-
|
1069
|
+
response_data = utils.unmarshal_json(
|
1070
|
+
http_res.text, models.HTTPValidationErrorData
|
1071
|
+
)
|
1072
|
+
raise models.HTTPValidationError(data=response_data)
|
1021
1073
|
if utils.match_response(http_res, "500", "application/json"):
|
1022
|
-
|
1023
|
-
|
1074
|
+
response_data = utils.unmarshal_json(
|
1075
|
+
http_res.text, models.ErrorResponseData
|
1076
|
+
)
|
1077
|
+
raise models.ErrorResponse(data=response_data)
|
1024
1078
|
if utils.match_response(http_res, "4XX", "*"):
|
1025
1079
|
http_res_text = utils.stream_to_text(http_res)
|
1026
1080
|
raise models.APIError(
|
@@ -1139,20 +1193,26 @@ class TaxonomyEntities(BaseSDK):
|
|
1139
1193
|
retry_config=retry_config,
|
1140
1194
|
)
|
1141
1195
|
|
1142
|
-
|
1196
|
+
response_data: Any = None
|
1143
1197
|
if utils.match_response(http_res, "200", "application/json"):
|
1144
1198
|
return utils.unmarshal_json(http_res.text, models.TaskResponse)
|
1145
1199
|
if utils.match_response(
|
1146
1200
|
http_res, ["400", "401", "403", "404"], "application/json"
|
1147
1201
|
):
|
1148
|
-
|
1149
|
-
|
1202
|
+
response_data = utils.unmarshal_json(
|
1203
|
+
http_res.text, models.ErrorResponseData
|
1204
|
+
)
|
1205
|
+
raise models.ErrorResponse(data=response_data)
|
1150
1206
|
if utils.match_response(http_res, "422", "application/json"):
|
1151
|
-
|
1152
|
-
|
1207
|
+
response_data = utils.unmarshal_json(
|
1208
|
+
http_res.text, models.HTTPValidationErrorData
|
1209
|
+
)
|
1210
|
+
raise models.HTTPValidationError(data=response_data)
|
1153
1211
|
if utils.match_response(http_res, "500", "application/json"):
|
1154
|
-
|
1155
|
-
|
1212
|
+
response_data = utils.unmarshal_json(
|
1213
|
+
http_res.text, models.ErrorResponseData
|
1214
|
+
)
|
1215
|
+
raise models.ErrorResponse(data=response_data)
|
1156
1216
|
if utils.match_response(http_res, "4XX", "*"):
|
1157
1217
|
http_res_text = await utils.stream_to_text_async(http_res)
|
1158
1218
|
raise models.APIError(
|
@@ -1287,7 +1347,7 @@ class TaxonomyEntities(BaseSDK):
|
|
1287
1347
|
retry_config=retry_config,
|
1288
1348
|
)
|
1289
1349
|
|
1290
|
-
|
1350
|
+
response_data: Any = None
|
1291
1351
|
if utils.match_response(http_res, "200", "application/json"):
|
1292
1352
|
return utils.unmarshal_json(
|
1293
1353
|
http_res.text, models.ListClassificationsResponse
|
@@ -1295,14 +1355,20 @@ class TaxonomyEntities(BaseSDK):
|
|
1295
1355
|
if utils.match_response(
|
1296
1356
|
http_res, ["400", "401", "403", "404"], "application/json"
|
1297
1357
|
):
|
1298
|
-
|
1299
|
-
|
1358
|
+
response_data = utils.unmarshal_json(
|
1359
|
+
http_res.text, models.ErrorResponseData
|
1360
|
+
)
|
1361
|
+
raise models.ErrorResponse(data=response_data)
|
1300
1362
|
if utils.match_response(http_res, "422", "application/json"):
|
1301
|
-
|
1302
|
-
|
1363
|
+
response_data = utils.unmarshal_json(
|
1364
|
+
http_res.text, models.HTTPValidationErrorData
|
1365
|
+
)
|
1366
|
+
raise models.HTTPValidationError(data=response_data)
|
1303
1367
|
if utils.match_response(http_res, "500", "application/json"):
|
1304
|
-
|
1305
|
-
|
1368
|
+
response_data = utils.unmarshal_json(
|
1369
|
+
http_res.text, models.ErrorResponseData
|
1370
|
+
)
|
1371
|
+
raise models.ErrorResponse(data=response_data)
|
1306
1372
|
if utils.match_response(http_res, "4XX", "*"):
|
1307
1373
|
http_res_text = utils.stream_to_text(http_res)
|
1308
1374
|
raise models.APIError(
|
@@ -1437,7 +1503,7 @@ class TaxonomyEntities(BaseSDK):
|
|
1437
1503
|
retry_config=retry_config,
|
1438
1504
|
)
|
1439
1505
|
|
1440
|
-
|
1506
|
+
response_data: Any = None
|
1441
1507
|
if utils.match_response(http_res, "200", "application/json"):
|
1442
1508
|
return utils.unmarshal_json(
|
1443
1509
|
http_res.text, models.ListClassificationsResponse
|
@@ -1445,14 +1511,20 @@ class TaxonomyEntities(BaseSDK):
|
|
1445
1511
|
if utils.match_response(
|
1446
1512
|
http_res, ["400", "401", "403", "404"], "application/json"
|
1447
1513
|
):
|
1448
|
-
|
1449
|
-
|
1514
|
+
response_data = utils.unmarshal_json(
|
1515
|
+
http_res.text, models.ErrorResponseData
|
1516
|
+
)
|
1517
|
+
raise models.ErrorResponse(data=response_data)
|
1450
1518
|
if utils.match_response(http_res, "422", "application/json"):
|
1451
|
-
|
1452
|
-
|
1519
|
+
response_data = utils.unmarshal_json(
|
1520
|
+
http_res.text, models.HTTPValidationErrorData
|
1521
|
+
)
|
1522
|
+
raise models.HTTPValidationError(data=response_data)
|
1453
1523
|
if utils.match_response(http_res, "500", "application/json"):
|
1454
|
-
|
1455
|
-
|
1524
|
+
response_data = utils.unmarshal_json(
|
1525
|
+
http_res.text, models.ErrorResponseData
|
1526
|
+
)
|
1527
|
+
raise models.ErrorResponse(data=response_data)
|
1456
1528
|
if utils.match_response(http_res, "4XX", "*"):
|
1457
1529
|
http_res_text = await utils.stream_to_text_async(http_res)
|
1458
1530
|
raise models.APIError(
|
@@ -1548,20 +1620,26 @@ class TaxonomyEntities(BaseSDK):
|
|
1548
1620
|
retry_config=retry_config,
|
1549
1621
|
)
|
1550
1622
|
|
1551
|
-
|
1623
|
+
response_data: Any = None
|
1552
1624
|
if utils.match_response(http_res, "200", "application/json"):
|
1553
1625
|
return utils.unmarshal_json(http_res.text, models.GenericSuccessResponse)
|
1554
1626
|
if utils.match_response(
|
1555
1627
|
http_res, ["400", "401", "403", "404"], "application/json"
|
1556
1628
|
):
|
1557
|
-
|
1558
|
-
|
1629
|
+
response_data = utils.unmarshal_json(
|
1630
|
+
http_res.text, models.ErrorResponseData
|
1631
|
+
)
|
1632
|
+
raise models.ErrorResponse(data=response_data)
|
1559
1633
|
if utils.match_response(http_res, "422", "application/json"):
|
1560
|
-
|
1561
|
-
|
1634
|
+
response_data = utils.unmarshal_json(
|
1635
|
+
http_res.text, models.HTTPValidationErrorData
|
1636
|
+
)
|
1637
|
+
raise models.HTTPValidationError(data=response_data)
|
1562
1638
|
if utils.match_response(http_res, "500", "application/json"):
|
1563
|
-
|
1564
|
-
|
1639
|
+
response_data = utils.unmarshal_json(
|
1640
|
+
http_res.text, models.ErrorResponseData
|
1641
|
+
)
|
1642
|
+
raise models.ErrorResponse(data=response_data)
|
1565
1643
|
if utils.match_response(http_res, "4XX", "*"):
|
1566
1644
|
http_res_text = utils.stream_to_text(http_res)
|
1567
1645
|
raise models.APIError(
|
@@ -1657,20 +1735,26 @@ class TaxonomyEntities(BaseSDK):
|
|
1657
1735
|
retry_config=retry_config,
|
1658
1736
|
)
|
1659
1737
|
|
1660
|
-
|
1738
|
+
response_data: Any = None
|
1661
1739
|
if utils.match_response(http_res, "200", "application/json"):
|
1662
1740
|
return utils.unmarshal_json(http_res.text, models.GenericSuccessResponse)
|
1663
1741
|
if utils.match_response(
|
1664
1742
|
http_res, ["400", "401", "403", "404"], "application/json"
|
1665
1743
|
):
|
1666
|
-
|
1667
|
-
|
1744
|
+
response_data = utils.unmarshal_json(
|
1745
|
+
http_res.text, models.ErrorResponseData
|
1746
|
+
)
|
1747
|
+
raise models.ErrorResponse(data=response_data)
|
1668
1748
|
if utils.match_response(http_res, "422", "application/json"):
|
1669
|
-
|
1670
|
-
|
1749
|
+
response_data = utils.unmarshal_json(
|
1750
|
+
http_res.text, models.HTTPValidationErrorData
|
1751
|
+
)
|
1752
|
+
raise models.HTTPValidationError(data=response_data)
|
1671
1753
|
if utils.match_response(http_res, "500", "application/json"):
|
1672
|
-
|
1673
|
-
|
1754
|
+
response_data = utils.unmarshal_json(
|
1755
|
+
http_res.text, models.ErrorResponseData
|
1756
|
+
)
|
1757
|
+
raise models.ErrorResponse(data=response_data)
|
1674
1758
|
if utils.match_response(http_res, "4XX", "*"):
|
1675
1759
|
http_res_text = await utils.stream_to_text_async(http_res)
|
1676
1760
|
raise models.APIError(
|