lambdadb 0.5.2__py3-none-any.whl → 0.5.4__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 lambdadb might be problematic. Click here for more details.
- lambdadb/_version.py +3 -3
- lambdadb/collections.py +73 -88
- lambdadb/docs.py +71 -74
- lambdadb/models/querycollectionop.py +12 -12
- lambdadb/sdk.py +3 -3
- lambdadb/sdkconfiguration.py +1 -1
- lambdadb/utils/__init__.py +0 -3
- lambdadb/utils/serializers.py +1 -18
- lambdadb/utils/unmarshal_json_response.py +24 -0
- {lambdadb-0.5.2.dist-info → lambdadb-0.5.4.dist-info}/METADATA +6 -6
- {lambdadb-0.5.2.dist-info → lambdadb-0.5.4.dist-info}/RECORD +13 -12
- {lambdadb-0.5.2.dist-info → lambdadb-0.5.4.dist-info}/LICENSE +0 -0
- {lambdadb-0.5.2.dist-info → lambdadb-0.5.4.dist-info}/WHEEL +0 -0
lambdadb/_version.py
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
import importlib.metadata
|
|
4
4
|
|
|
5
5
|
__title__: str = "lambdadb"
|
|
6
|
-
__version__: str = "0.5.
|
|
6
|
+
__version__: str = "0.5.4"
|
|
7
7
|
__openapi_doc_version__: str = "1.1.1"
|
|
8
|
-
__gen_version__: str = "2.
|
|
9
|
-
__user_agent__: str = "speakeasy-sdk/python 0.5.
|
|
8
|
+
__gen_version__: str = "2.657.1"
|
|
9
|
+
__user_agent__: str = "speakeasy-sdk/python 0.5.4 2.657.1 1.1.1 lambdadb"
|
|
10
10
|
|
|
11
11
|
try:
|
|
12
12
|
if __package__ is not None:
|
lambdadb/collections.py
CHANGED
|
@@ -7,6 +7,7 @@ from lambdadb._hooks import HookContext
|
|
|
7
7
|
from lambdadb.docs import Docs
|
|
8
8
|
from lambdadb.types import OptionalNullable, UNSET
|
|
9
9
|
from lambdadb.utils import get_security_from_env
|
|
10
|
+
from lambdadb.utils.unmarshal_json_response import unmarshal_json_response
|
|
10
11
|
from typing import Any, Dict, List, Mapping, Optional, Union
|
|
11
12
|
|
|
12
13
|
|
|
@@ -90,26 +91,24 @@ class Collections(BaseSDK):
|
|
|
90
91
|
|
|
91
92
|
response_data: Any = None
|
|
92
93
|
if utils.match_response(http_res, "200", "application/json"):
|
|
93
|
-
return
|
|
94
|
-
models.ListCollectionsResponse, http_res
|
|
95
|
-
)
|
|
94
|
+
return unmarshal_json_response(models.ListCollectionsResponse, http_res)
|
|
96
95
|
if utils.match_response(http_res, "401", "application/json"):
|
|
97
|
-
response_data =
|
|
96
|
+
response_data = unmarshal_json_response(
|
|
98
97
|
errors.UnauthenticatedErrorData, http_res
|
|
99
98
|
)
|
|
100
99
|
raise errors.UnauthenticatedError(response_data, http_res)
|
|
101
100
|
if utils.match_response(http_res, "404", "application/json"):
|
|
102
|
-
response_data =
|
|
101
|
+
response_data = unmarshal_json_response(
|
|
103
102
|
errors.ResourceNotFoundErrorData, http_res
|
|
104
103
|
)
|
|
105
104
|
raise errors.ResourceNotFoundError(response_data, http_res)
|
|
106
105
|
if utils.match_response(http_res, "429", "application/json"):
|
|
107
|
-
response_data =
|
|
106
|
+
response_data = unmarshal_json_response(
|
|
108
107
|
errors.TooManyRequestsErrorData, http_res
|
|
109
108
|
)
|
|
110
109
|
raise errors.TooManyRequestsError(response_data, http_res)
|
|
111
110
|
if utils.match_response(http_res, "500", "application/json"):
|
|
112
|
-
response_data =
|
|
111
|
+
response_data = unmarshal_json_response(
|
|
113
112
|
errors.InternalServerErrorData, http_res
|
|
114
113
|
)
|
|
115
114
|
raise errors.InternalServerError(response_data, http_res)
|
|
@@ -191,26 +190,24 @@ class Collections(BaseSDK):
|
|
|
191
190
|
|
|
192
191
|
response_data: Any = None
|
|
193
192
|
if utils.match_response(http_res, "200", "application/json"):
|
|
194
|
-
return
|
|
195
|
-
models.ListCollectionsResponse, http_res
|
|
196
|
-
)
|
|
193
|
+
return unmarshal_json_response(models.ListCollectionsResponse, http_res)
|
|
197
194
|
if utils.match_response(http_res, "401", "application/json"):
|
|
198
|
-
response_data =
|
|
195
|
+
response_data = unmarshal_json_response(
|
|
199
196
|
errors.UnauthenticatedErrorData, http_res
|
|
200
197
|
)
|
|
201
198
|
raise errors.UnauthenticatedError(response_data, http_res)
|
|
202
199
|
if utils.match_response(http_res, "404", "application/json"):
|
|
203
|
-
response_data =
|
|
200
|
+
response_data = unmarshal_json_response(
|
|
204
201
|
errors.ResourceNotFoundErrorData, http_res
|
|
205
202
|
)
|
|
206
203
|
raise errors.ResourceNotFoundError(response_data, http_res)
|
|
207
204
|
if utils.match_response(http_res, "429", "application/json"):
|
|
208
|
-
response_data =
|
|
205
|
+
response_data = unmarshal_json_response(
|
|
209
206
|
errors.TooManyRequestsErrorData, http_res
|
|
210
207
|
)
|
|
211
208
|
raise errors.TooManyRequestsError(response_data, http_res)
|
|
212
209
|
if utils.match_response(http_res, "500", "application/json"):
|
|
213
|
-
response_data =
|
|
210
|
+
response_data = unmarshal_json_response(
|
|
214
211
|
errors.InternalServerErrorData, http_res
|
|
215
212
|
)
|
|
216
213
|
raise errors.InternalServerError(response_data, http_res)
|
|
@@ -324,31 +321,29 @@ class Collections(BaseSDK):
|
|
|
324
321
|
|
|
325
322
|
response_data: Any = None
|
|
326
323
|
if utils.match_response(http_res, "202", "application/json"):
|
|
327
|
-
return
|
|
328
|
-
models.CreateCollectionResponse, http_res
|
|
329
|
-
)
|
|
324
|
+
return unmarshal_json_response(models.CreateCollectionResponse, http_res)
|
|
330
325
|
if utils.match_response(http_res, "400", "application/json"):
|
|
331
|
-
response_data =
|
|
326
|
+
response_data = unmarshal_json_response(
|
|
332
327
|
errors.BadRequestErrorData, http_res
|
|
333
328
|
)
|
|
334
329
|
raise errors.BadRequestError(response_data, http_res)
|
|
335
330
|
if utils.match_response(http_res, "401", "application/json"):
|
|
336
|
-
response_data =
|
|
331
|
+
response_data = unmarshal_json_response(
|
|
337
332
|
errors.UnauthenticatedErrorData, http_res
|
|
338
333
|
)
|
|
339
334
|
raise errors.UnauthenticatedError(response_data, http_res)
|
|
340
335
|
if utils.match_response(http_res, "409", "application/json"):
|
|
341
|
-
response_data =
|
|
336
|
+
response_data = unmarshal_json_response(
|
|
342
337
|
errors.ResourceAlreadyExistsErrorData, http_res
|
|
343
338
|
)
|
|
344
339
|
raise errors.ResourceAlreadyExistsError(response_data, http_res)
|
|
345
340
|
if utils.match_response(http_res, "429", "application/json"):
|
|
346
|
-
response_data =
|
|
341
|
+
response_data = unmarshal_json_response(
|
|
347
342
|
errors.TooManyRequestsErrorData, http_res
|
|
348
343
|
)
|
|
349
344
|
raise errors.TooManyRequestsError(response_data, http_res)
|
|
350
345
|
if utils.match_response(http_res, "500", "application/json"):
|
|
351
|
-
response_data =
|
|
346
|
+
response_data = unmarshal_json_response(
|
|
352
347
|
errors.InternalServerErrorData, http_res
|
|
353
348
|
)
|
|
354
349
|
raise errors.InternalServerError(response_data, http_res)
|
|
@@ -462,31 +457,29 @@ class Collections(BaseSDK):
|
|
|
462
457
|
|
|
463
458
|
response_data: Any = None
|
|
464
459
|
if utils.match_response(http_res, "202", "application/json"):
|
|
465
|
-
return
|
|
466
|
-
models.CreateCollectionResponse, http_res
|
|
467
|
-
)
|
|
460
|
+
return unmarshal_json_response(models.CreateCollectionResponse, http_res)
|
|
468
461
|
if utils.match_response(http_res, "400", "application/json"):
|
|
469
|
-
response_data =
|
|
462
|
+
response_data = unmarshal_json_response(
|
|
470
463
|
errors.BadRequestErrorData, http_res
|
|
471
464
|
)
|
|
472
465
|
raise errors.BadRequestError(response_data, http_res)
|
|
473
466
|
if utils.match_response(http_res, "401", "application/json"):
|
|
474
|
-
response_data =
|
|
467
|
+
response_data = unmarshal_json_response(
|
|
475
468
|
errors.UnauthenticatedErrorData, http_res
|
|
476
469
|
)
|
|
477
470
|
raise errors.UnauthenticatedError(response_data, http_res)
|
|
478
471
|
if utils.match_response(http_res, "409", "application/json"):
|
|
479
|
-
response_data =
|
|
472
|
+
response_data = unmarshal_json_response(
|
|
480
473
|
errors.ResourceAlreadyExistsErrorData, http_res
|
|
481
474
|
)
|
|
482
475
|
raise errors.ResourceAlreadyExistsError(response_data, http_res)
|
|
483
476
|
if utils.match_response(http_res, "429", "application/json"):
|
|
484
|
-
response_data =
|
|
477
|
+
response_data = unmarshal_json_response(
|
|
485
478
|
errors.TooManyRequestsErrorData, http_res
|
|
486
479
|
)
|
|
487
480
|
raise errors.TooManyRequestsError(response_data, http_res)
|
|
488
481
|
if utils.match_response(http_res, "500", "application/json"):
|
|
489
|
-
response_data =
|
|
482
|
+
response_data = unmarshal_json_response(
|
|
490
483
|
errors.InternalServerErrorData, http_res
|
|
491
484
|
)
|
|
492
485
|
raise errors.InternalServerError(response_data, http_res)
|
|
@@ -575,24 +568,24 @@ class Collections(BaseSDK):
|
|
|
575
568
|
|
|
576
569
|
response_data: Any = None
|
|
577
570
|
if utils.match_response(http_res, "202", "application/json"):
|
|
578
|
-
return
|
|
571
|
+
return unmarshal_json_response(models.MessageResponse, http_res)
|
|
579
572
|
if utils.match_response(http_res, "401", "application/json"):
|
|
580
|
-
response_data =
|
|
573
|
+
response_data = unmarshal_json_response(
|
|
581
574
|
errors.UnauthenticatedErrorData, http_res
|
|
582
575
|
)
|
|
583
576
|
raise errors.UnauthenticatedError(response_data, http_res)
|
|
584
577
|
if utils.match_response(http_res, "404", "application/json"):
|
|
585
|
-
response_data =
|
|
578
|
+
response_data = unmarshal_json_response(
|
|
586
579
|
errors.ResourceNotFoundErrorData, http_res
|
|
587
580
|
)
|
|
588
581
|
raise errors.ResourceNotFoundError(response_data, http_res)
|
|
589
582
|
if utils.match_response(http_res, "429", "application/json"):
|
|
590
|
-
response_data =
|
|
583
|
+
response_data = unmarshal_json_response(
|
|
591
584
|
errors.TooManyRequestsErrorData, http_res
|
|
592
585
|
)
|
|
593
586
|
raise errors.TooManyRequestsError(response_data, http_res)
|
|
594
587
|
if utils.match_response(http_res, "500", "application/json"):
|
|
595
|
-
response_data =
|
|
588
|
+
response_data = unmarshal_json_response(
|
|
596
589
|
errors.InternalServerErrorData, http_res
|
|
597
590
|
)
|
|
598
591
|
raise errors.InternalServerError(response_data, http_res)
|
|
@@ -681,24 +674,24 @@ class Collections(BaseSDK):
|
|
|
681
674
|
|
|
682
675
|
response_data: Any = None
|
|
683
676
|
if utils.match_response(http_res, "202", "application/json"):
|
|
684
|
-
return
|
|
677
|
+
return unmarshal_json_response(models.MessageResponse, http_res)
|
|
685
678
|
if utils.match_response(http_res, "401", "application/json"):
|
|
686
|
-
response_data =
|
|
679
|
+
response_data = unmarshal_json_response(
|
|
687
680
|
errors.UnauthenticatedErrorData, http_res
|
|
688
681
|
)
|
|
689
682
|
raise errors.UnauthenticatedError(response_data, http_res)
|
|
690
683
|
if utils.match_response(http_res, "404", "application/json"):
|
|
691
|
-
response_data =
|
|
684
|
+
response_data = unmarshal_json_response(
|
|
692
685
|
errors.ResourceNotFoundErrorData, http_res
|
|
693
686
|
)
|
|
694
687
|
raise errors.ResourceNotFoundError(response_data, http_res)
|
|
695
688
|
if utils.match_response(http_res, "429", "application/json"):
|
|
696
|
-
response_data =
|
|
689
|
+
response_data = unmarshal_json_response(
|
|
697
690
|
errors.TooManyRequestsErrorData, http_res
|
|
698
691
|
)
|
|
699
692
|
raise errors.TooManyRequestsError(response_data, http_res)
|
|
700
693
|
if utils.match_response(http_res, "500", "application/json"):
|
|
701
|
-
response_data =
|
|
694
|
+
response_data = unmarshal_json_response(
|
|
702
695
|
errors.InternalServerErrorData, http_res
|
|
703
696
|
)
|
|
704
697
|
raise errors.InternalServerError(response_data, http_res)
|
|
@@ -787,24 +780,24 @@ class Collections(BaseSDK):
|
|
|
787
780
|
|
|
788
781
|
response_data: Any = None
|
|
789
782
|
if utils.match_response(http_res, "200", "application/json"):
|
|
790
|
-
return
|
|
783
|
+
return unmarshal_json_response(models.GetCollectionResponse, http_res)
|
|
791
784
|
if utils.match_response(http_res, "401", "application/json"):
|
|
792
|
-
response_data =
|
|
785
|
+
response_data = unmarshal_json_response(
|
|
793
786
|
errors.UnauthenticatedErrorData, http_res
|
|
794
787
|
)
|
|
795
788
|
raise errors.UnauthenticatedError(response_data, http_res)
|
|
796
789
|
if utils.match_response(http_res, "404", "application/json"):
|
|
797
|
-
response_data =
|
|
790
|
+
response_data = unmarshal_json_response(
|
|
798
791
|
errors.ResourceNotFoundErrorData, http_res
|
|
799
792
|
)
|
|
800
793
|
raise errors.ResourceNotFoundError(response_data, http_res)
|
|
801
794
|
if utils.match_response(http_res, "429", "application/json"):
|
|
802
|
-
response_data =
|
|
795
|
+
response_data = unmarshal_json_response(
|
|
803
796
|
errors.TooManyRequestsErrorData, http_res
|
|
804
797
|
)
|
|
805
798
|
raise errors.TooManyRequestsError(response_data, http_res)
|
|
806
799
|
if utils.match_response(http_res, "500", "application/json"):
|
|
807
|
-
response_data =
|
|
800
|
+
response_data = unmarshal_json_response(
|
|
808
801
|
errors.InternalServerErrorData, http_res
|
|
809
802
|
)
|
|
810
803
|
raise errors.InternalServerError(response_data, http_res)
|
|
@@ -893,24 +886,24 @@ class Collections(BaseSDK):
|
|
|
893
886
|
|
|
894
887
|
response_data: Any = None
|
|
895
888
|
if utils.match_response(http_res, "200", "application/json"):
|
|
896
|
-
return
|
|
889
|
+
return unmarshal_json_response(models.GetCollectionResponse, http_res)
|
|
897
890
|
if utils.match_response(http_res, "401", "application/json"):
|
|
898
|
-
response_data =
|
|
891
|
+
response_data = unmarshal_json_response(
|
|
899
892
|
errors.UnauthenticatedErrorData, http_res
|
|
900
893
|
)
|
|
901
894
|
raise errors.UnauthenticatedError(response_data, http_res)
|
|
902
895
|
if utils.match_response(http_res, "404", "application/json"):
|
|
903
|
-
response_data =
|
|
896
|
+
response_data = unmarshal_json_response(
|
|
904
897
|
errors.ResourceNotFoundErrorData, http_res
|
|
905
898
|
)
|
|
906
899
|
raise errors.ResourceNotFoundError(response_data, http_res)
|
|
907
900
|
if utils.match_response(http_res, "429", "application/json"):
|
|
908
|
-
response_data =
|
|
901
|
+
response_data = unmarshal_json_response(
|
|
909
902
|
errors.TooManyRequestsErrorData, http_res
|
|
910
903
|
)
|
|
911
904
|
raise errors.TooManyRequestsError(response_data, http_res)
|
|
912
905
|
if utils.match_response(http_res, "500", "application/json"):
|
|
913
|
-
response_data =
|
|
906
|
+
response_data = unmarshal_json_response(
|
|
914
907
|
errors.InternalServerErrorData, http_res
|
|
915
908
|
)
|
|
916
909
|
raise errors.InternalServerError(response_data, http_res)
|
|
@@ -1016,31 +1009,29 @@ class Collections(BaseSDK):
|
|
|
1016
1009
|
|
|
1017
1010
|
response_data: Any = None
|
|
1018
1011
|
if utils.match_response(http_res, "200", "application/json"):
|
|
1019
|
-
return
|
|
1020
|
-
models.UpdateCollectionResponse, http_res
|
|
1021
|
-
)
|
|
1012
|
+
return unmarshal_json_response(models.UpdateCollectionResponse, http_res)
|
|
1022
1013
|
if utils.match_response(http_res, "400", "application/json"):
|
|
1023
|
-
response_data =
|
|
1014
|
+
response_data = unmarshal_json_response(
|
|
1024
1015
|
errors.BadRequestErrorData, http_res
|
|
1025
1016
|
)
|
|
1026
1017
|
raise errors.BadRequestError(response_data, http_res)
|
|
1027
1018
|
if utils.match_response(http_res, "401", "application/json"):
|
|
1028
|
-
response_data =
|
|
1019
|
+
response_data = unmarshal_json_response(
|
|
1029
1020
|
errors.UnauthenticatedErrorData, http_res
|
|
1030
1021
|
)
|
|
1031
1022
|
raise errors.UnauthenticatedError(response_data, http_res)
|
|
1032
1023
|
if utils.match_response(http_res, "404", "application/json"):
|
|
1033
|
-
response_data =
|
|
1024
|
+
response_data = unmarshal_json_response(
|
|
1034
1025
|
errors.ResourceNotFoundErrorData, http_res
|
|
1035
1026
|
)
|
|
1036
1027
|
raise errors.ResourceNotFoundError(response_data, http_res)
|
|
1037
1028
|
if utils.match_response(http_res, "429", "application/json"):
|
|
1038
|
-
response_data =
|
|
1029
|
+
response_data = unmarshal_json_response(
|
|
1039
1030
|
errors.TooManyRequestsErrorData, http_res
|
|
1040
1031
|
)
|
|
1041
1032
|
raise errors.TooManyRequestsError(response_data, http_res)
|
|
1042
1033
|
if utils.match_response(http_res, "500", "application/json"):
|
|
1043
|
-
response_data =
|
|
1034
|
+
response_data = unmarshal_json_response(
|
|
1044
1035
|
errors.InternalServerErrorData, http_res
|
|
1045
1036
|
)
|
|
1046
1037
|
raise errors.InternalServerError(response_data, http_res)
|
|
@@ -1146,31 +1137,29 @@ class Collections(BaseSDK):
|
|
|
1146
1137
|
|
|
1147
1138
|
response_data: Any = None
|
|
1148
1139
|
if utils.match_response(http_res, "200", "application/json"):
|
|
1149
|
-
return
|
|
1150
|
-
models.UpdateCollectionResponse, http_res
|
|
1151
|
-
)
|
|
1140
|
+
return unmarshal_json_response(models.UpdateCollectionResponse, http_res)
|
|
1152
1141
|
if utils.match_response(http_res, "400", "application/json"):
|
|
1153
|
-
response_data =
|
|
1142
|
+
response_data = unmarshal_json_response(
|
|
1154
1143
|
errors.BadRequestErrorData, http_res
|
|
1155
1144
|
)
|
|
1156
1145
|
raise errors.BadRequestError(response_data, http_res)
|
|
1157
1146
|
if utils.match_response(http_res, "401", "application/json"):
|
|
1158
|
-
response_data =
|
|
1147
|
+
response_data = unmarshal_json_response(
|
|
1159
1148
|
errors.UnauthenticatedErrorData, http_res
|
|
1160
1149
|
)
|
|
1161
1150
|
raise errors.UnauthenticatedError(response_data, http_res)
|
|
1162
1151
|
if utils.match_response(http_res, "404", "application/json"):
|
|
1163
|
-
response_data =
|
|
1152
|
+
response_data = unmarshal_json_response(
|
|
1164
1153
|
errors.ResourceNotFoundErrorData, http_res
|
|
1165
1154
|
)
|
|
1166
1155
|
raise errors.ResourceNotFoundError(response_data, http_res)
|
|
1167
1156
|
if utils.match_response(http_res, "429", "application/json"):
|
|
1168
|
-
response_data =
|
|
1157
|
+
response_data = unmarshal_json_response(
|
|
1169
1158
|
errors.TooManyRequestsErrorData, http_res
|
|
1170
1159
|
)
|
|
1171
1160
|
raise errors.TooManyRequestsError(response_data, http_res)
|
|
1172
1161
|
if utils.match_response(http_res, "500", "application/json"):
|
|
1173
|
-
response_data =
|
|
1162
|
+
response_data = unmarshal_json_response(
|
|
1174
1163
|
errors.InternalServerErrorData, http_res
|
|
1175
1164
|
)
|
|
1176
1165
|
raise errors.InternalServerError(response_data, http_res)
|
|
@@ -1187,8 +1176,8 @@ class Collections(BaseSDK):
|
|
|
1187
1176
|
self,
|
|
1188
1177
|
*,
|
|
1189
1178
|
collection_name: str,
|
|
1190
|
-
|
|
1191
|
-
|
|
1179
|
+
query: Dict[str, Any],
|
|
1180
|
+
size: Optional[int] = None,
|
|
1192
1181
|
consistent_read: Optional[bool] = False,
|
|
1193
1182
|
include_vectors: Optional[bool] = False,
|
|
1194
1183
|
sort: Optional[List[Dict[str, Any]]] = None,
|
|
@@ -1201,8 +1190,8 @@ class Collections(BaseSDK):
|
|
|
1201
1190
|
r"""Search a collection with a query and return the most similar documents.
|
|
1202
1191
|
|
|
1203
1192
|
:param collection_name: Collection name.
|
|
1204
|
-
:param size: Number of documents to return. Note that the maximum number of documents is 100.
|
|
1205
1193
|
:param query: Query object.
|
|
1194
|
+
:param size: Number of documents to return. Note that the maximum number of documents is 100.
|
|
1206
1195
|
:param consistent_read: If your application requires a strongly consistent read, set consistentRead to true. Although a strongly consistent read might take more time than an eventually consistent read, it always returns the last updated value.
|
|
1207
1196
|
:param include_vectors: If your application need to include vector values in the response, set includeVectors to true.
|
|
1208
1197
|
:param sort: List of field name, sort direction pairs.
|
|
@@ -1286,31 +1275,29 @@ class Collections(BaseSDK):
|
|
|
1286
1275
|
|
|
1287
1276
|
response_data: Any = None
|
|
1288
1277
|
if utils.match_response(http_res, "200", "application/json"):
|
|
1289
|
-
return
|
|
1290
|
-
models.QueryCollectionResponse, http_res
|
|
1291
|
-
)
|
|
1278
|
+
return unmarshal_json_response(models.QueryCollectionResponse, http_res)
|
|
1292
1279
|
if utils.match_response(http_res, "400", "application/json"):
|
|
1293
|
-
response_data =
|
|
1280
|
+
response_data = unmarshal_json_response(
|
|
1294
1281
|
errors.BadRequestErrorData, http_res
|
|
1295
1282
|
)
|
|
1296
1283
|
raise errors.BadRequestError(response_data, http_res)
|
|
1297
1284
|
if utils.match_response(http_res, "401", "application/json"):
|
|
1298
|
-
response_data =
|
|
1285
|
+
response_data = unmarshal_json_response(
|
|
1299
1286
|
errors.UnauthenticatedErrorData, http_res
|
|
1300
1287
|
)
|
|
1301
1288
|
raise errors.UnauthenticatedError(response_data, http_res)
|
|
1302
1289
|
if utils.match_response(http_res, "404", "application/json"):
|
|
1303
|
-
response_data =
|
|
1290
|
+
response_data = unmarshal_json_response(
|
|
1304
1291
|
errors.ResourceNotFoundErrorData, http_res
|
|
1305
1292
|
)
|
|
1306
1293
|
raise errors.ResourceNotFoundError(response_data, http_res)
|
|
1307
1294
|
if utils.match_response(http_res, "429", "application/json"):
|
|
1308
|
-
response_data =
|
|
1295
|
+
response_data = unmarshal_json_response(
|
|
1309
1296
|
errors.TooManyRequestsErrorData, http_res
|
|
1310
1297
|
)
|
|
1311
1298
|
raise errors.TooManyRequestsError(response_data, http_res)
|
|
1312
1299
|
if utils.match_response(http_res, "500", "application/json"):
|
|
1313
|
-
response_data =
|
|
1300
|
+
response_data = unmarshal_json_response(
|
|
1314
1301
|
errors.InternalServerErrorData, http_res
|
|
1315
1302
|
)
|
|
1316
1303
|
raise errors.InternalServerError(response_data, http_res)
|
|
@@ -1327,8 +1314,8 @@ class Collections(BaseSDK):
|
|
|
1327
1314
|
self,
|
|
1328
1315
|
*,
|
|
1329
1316
|
collection_name: str,
|
|
1330
|
-
|
|
1331
|
-
|
|
1317
|
+
query: Dict[str, Any],
|
|
1318
|
+
size: Optional[int] = None,
|
|
1332
1319
|
consistent_read: Optional[bool] = False,
|
|
1333
1320
|
include_vectors: Optional[bool] = False,
|
|
1334
1321
|
sort: Optional[List[Dict[str, Any]]] = None,
|
|
@@ -1341,8 +1328,8 @@ class Collections(BaseSDK):
|
|
|
1341
1328
|
r"""Search a collection with a query and return the most similar documents.
|
|
1342
1329
|
|
|
1343
1330
|
:param collection_name: Collection name.
|
|
1344
|
-
:param size: Number of documents to return. Note that the maximum number of documents is 100.
|
|
1345
1331
|
:param query: Query object.
|
|
1332
|
+
:param size: Number of documents to return. Note that the maximum number of documents is 100.
|
|
1346
1333
|
:param consistent_read: If your application requires a strongly consistent read, set consistentRead to true. Although a strongly consistent read might take more time than an eventually consistent read, it always returns the last updated value.
|
|
1347
1334
|
:param include_vectors: If your application need to include vector values in the response, set includeVectors to true.
|
|
1348
1335
|
:param sort: List of field name, sort direction pairs.
|
|
@@ -1426,31 +1413,29 @@ class Collections(BaseSDK):
|
|
|
1426
1413
|
|
|
1427
1414
|
response_data: Any = None
|
|
1428
1415
|
if utils.match_response(http_res, "200", "application/json"):
|
|
1429
|
-
return
|
|
1430
|
-
models.QueryCollectionResponse, http_res
|
|
1431
|
-
)
|
|
1416
|
+
return unmarshal_json_response(models.QueryCollectionResponse, http_res)
|
|
1432
1417
|
if utils.match_response(http_res, "400", "application/json"):
|
|
1433
|
-
response_data =
|
|
1418
|
+
response_data = unmarshal_json_response(
|
|
1434
1419
|
errors.BadRequestErrorData, http_res
|
|
1435
1420
|
)
|
|
1436
1421
|
raise errors.BadRequestError(response_data, http_res)
|
|
1437
1422
|
if utils.match_response(http_res, "401", "application/json"):
|
|
1438
|
-
response_data =
|
|
1423
|
+
response_data = unmarshal_json_response(
|
|
1439
1424
|
errors.UnauthenticatedErrorData, http_res
|
|
1440
1425
|
)
|
|
1441
1426
|
raise errors.UnauthenticatedError(response_data, http_res)
|
|
1442
1427
|
if utils.match_response(http_res, "404", "application/json"):
|
|
1443
|
-
response_data =
|
|
1428
|
+
response_data = unmarshal_json_response(
|
|
1444
1429
|
errors.ResourceNotFoundErrorData, http_res
|
|
1445
1430
|
)
|
|
1446
1431
|
raise errors.ResourceNotFoundError(response_data, http_res)
|
|
1447
1432
|
if utils.match_response(http_res, "429", "application/json"):
|
|
1448
|
-
response_data =
|
|
1433
|
+
response_data = unmarshal_json_response(
|
|
1449
1434
|
errors.TooManyRequestsErrorData, http_res
|
|
1450
1435
|
)
|
|
1451
1436
|
raise errors.TooManyRequestsError(response_data, http_res)
|
|
1452
1437
|
if utils.match_response(http_res, "500", "application/json"):
|
|
1453
|
-
response_data =
|
|
1438
|
+
response_data = unmarshal_json_response(
|
|
1454
1439
|
errors.InternalServerErrorData, http_res
|
|
1455
1440
|
)
|
|
1456
1441
|
raise errors.InternalServerError(response_data, http_res)
|
lambdadb/docs.py
CHANGED
|
@@ -5,6 +5,7 @@ from lambdadb import errors, models, utils
|
|
|
5
5
|
from lambdadb._hooks import HookContext
|
|
6
6
|
from lambdadb.types import OptionalNullable, UNSET
|
|
7
7
|
from lambdadb.utils import get_security_from_env
|
|
8
|
+
from lambdadb.utils.unmarshal_json_response import unmarshal_json_response
|
|
8
9
|
from typing import Any, Dict, List, Mapping, Optional
|
|
9
10
|
|
|
10
11
|
|
|
@@ -93,29 +94,29 @@ class Docs(BaseSDK):
|
|
|
93
94
|
|
|
94
95
|
response_data: Any = None
|
|
95
96
|
if utils.match_response(http_res, "202", "application/json"):
|
|
96
|
-
return
|
|
97
|
+
return unmarshal_json_response(models.MessageResponse, http_res)
|
|
97
98
|
if utils.match_response(http_res, "400", "application/json"):
|
|
98
|
-
response_data =
|
|
99
|
+
response_data = unmarshal_json_response(
|
|
99
100
|
errors.BadRequestErrorData, http_res
|
|
100
101
|
)
|
|
101
102
|
raise errors.BadRequestError(response_data, http_res)
|
|
102
103
|
if utils.match_response(http_res, "401", "application/json"):
|
|
103
|
-
response_data =
|
|
104
|
+
response_data = unmarshal_json_response(
|
|
104
105
|
errors.UnauthenticatedErrorData, http_res
|
|
105
106
|
)
|
|
106
107
|
raise errors.UnauthenticatedError(response_data, http_res)
|
|
107
108
|
if utils.match_response(http_res, "404", "application/json"):
|
|
108
|
-
response_data =
|
|
109
|
+
response_data = unmarshal_json_response(
|
|
109
110
|
errors.ResourceNotFoundErrorData, http_res
|
|
110
111
|
)
|
|
111
112
|
raise errors.ResourceNotFoundError(response_data, http_res)
|
|
112
113
|
if utils.match_response(http_res, "429", "application/json"):
|
|
113
|
-
response_data =
|
|
114
|
+
response_data = unmarshal_json_response(
|
|
114
115
|
errors.TooManyRequestsErrorData, http_res
|
|
115
116
|
)
|
|
116
117
|
raise errors.TooManyRequestsError(response_data, http_res)
|
|
117
118
|
if utils.match_response(http_res, "500", "application/json"):
|
|
118
|
-
response_data =
|
|
119
|
+
response_data = unmarshal_json_response(
|
|
119
120
|
errors.InternalServerErrorData, http_res
|
|
120
121
|
)
|
|
121
122
|
raise errors.InternalServerError(response_data, http_res)
|
|
@@ -212,29 +213,29 @@ class Docs(BaseSDK):
|
|
|
212
213
|
|
|
213
214
|
response_data: Any = None
|
|
214
215
|
if utils.match_response(http_res, "202", "application/json"):
|
|
215
|
-
return
|
|
216
|
+
return unmarshal_json_response(models.MessageResponse, http_res)
|
|
216
217
|
if utils.match_response(http_res, "400", "application/json"):
|
|
217
|
-
response_data =
|
|
218
|
+
response_data = unmarshal_json_response(
|
|
218
219
|
errors.BadRequestErrorData, http_res
|
|
219
220
|
)
|
|
220
221
|
raise errors.BadRequestError(response_data, http_res)
|
|
221
222
|
if utils.match_response(http_res, "401", "application/json"):
|
|
222
|
-
response_data =
|
|
223
|
+
response_data = unmarshal_json_response(
|
|
223
224
|
errors.UnauthenticatedErrorData, http_res
|
|
224
225
|
)
|
|
225
226
|
raise errors.UnauthenticatedError(response_data, http_res)
|
|
226
227
|
if utils.match_response(http_res, "404", "application/json"):
|
|
227
|
-
response_data =
|
|
228
|
+
response_data = unmarshal_json_response(
|
|
228
229
|
errors.ResourceNotFoundErrorData, http_res
|
|
229
230
|
)
|
|
230
231
|
raise errors.ResourceNotFoundError(response_data, http_res)
|
|
231
232
|
if utils.match_response(http_res, "429", "application/json"):
|
|
232
|
-
response_data =
|
|
233
|
+
response_data = unmarshal_json_response(
|
|
233
234
|
errors.TooManyRequestsErrorData, http_res
|
|
234
235
|
)
|
|
235
236
|
raise errors.TooManyRequestsError(response_data, http_res)
|
|
236
237
|
if utils.match_response(http_res, "500", "application/json"):
|
|
237
|
-
response_data =
|
|
238
|
+
response_data = unmarshal_json_response(
|
|
238
239
|
errors.InternalServerErrorData, http_res
|
|
239
240
|
)
|
|
240
241
|
raise errors.InternalServerError(response_data, http_res)
|
|
@@ -323,26 +324,24 @@ class Docs(BaseSDK):
|
|
|
323
324
|
|
|
324
325
|
response_data: Any = None
|
|
325
326
|
if utils.match_response(http_res, "200", "application/json"):
|
|
326
|
-
return
|
|
327
|
-
models.GetBulkUpsertDocsResponse, http_res
|
|
328
|
-
)
|
|
327
|
+
return unmarshal_json_response(models.GetBulkUpsertDocsResponse, http_res)
|
|
329
328
|
if utils.match_response(http_res, "401", "application/json"):
|
|
330
|
-
response_data =
|
|
329
|
+
response_data = unmarshal_json_response(
|
|
331
330
|
errors.UnauthenticatedErrorData, http_res
|
|
332
331
|
)
|
|
333
332
|
raise errors.UnauthenticatedError(response_data, http_res)
|
|
334
333
|
if utils.match_response(http_res, "404", "application/json"):
|
|
335
|
-
response_data =
|
|
334
|
+
response_data = unmarshal_json_response(
|
|
336
335
|
errors.ResourceNotFoundErrorData, http_res
|
|
337
336
|
)
|
|
338
337
|
raise errors.ResourceNotFoundError(response_data, http_res)
|
|
339
338
|
if utils.match_response(http_res, "429", "application/json"):
|
|
340
|
-
response_data =
|
|
339
|
+
response_data = unmarshal_json_response(
|
|
341
340
|
errors.TooManyRequestsErrorData, http_res
|
|
342
341
|
)
|
|
343
342
|
raise errors.TooManyRequestsError(response_data, http_res)
|
|
344
343
|
if utils.match_response(http_res, "500", "application/json"):
|
|
345
|
-
response_data =
|
|
344
|
+
response_data = unmarshal_json_response(
|
|
346
345
|
errors.InternalServerErrorData, http_res
|
|
347
346
|
)
|
|
348
347
|
raise errors.InternalServerError(response_data, http_res)
|
|
@@ -431,26 +430,24 @@ class Docs(BaseSDK):
|
|
|
431
430
|
|
|
432
431
|
response_data: Any = None
|
|
433
432
|
if utils.match_response(http_res, "200", "application/json"):
|
|
434
|
-
return
|
|
435
|
-
models.GetBulkUpsertDocsResponse, http_res
|
|
436
|
-
)
|
|
433
|
+
return unmarshal_json_response(models.GetBulkUpsertDocsResponse, http_res)
|
|
437
434
|
if utils.match_response(http_res, "401", "application/json"):
|
|
438
|
-
response_data =
|
|
435
|
+
response_data = unmarshal_json_response(
|
|
439
436
|
errors.UnauthenticatedErrorData, http_res
|
|
440
437
|
)
|
|
441
438
|
raise errors.UnauthenticatedError(response_data, http_res)
|
|
442
439
|
if utils.match_response(http_res, "404", "application/json"):
|
|
443
|
-
response_data =
|
|
440
|
+
response_data = unmarshal_json_response(
|
|
444
441
|
errors.ResourceNotFoundErrorData, http_res
|
|
445
442
|
)
|
|
446
443
|
raise errors.ResourceNotFoundError(response_data, http_res)
|
|
447
444
|
if utils.match_response(http_res, "429", "application/json"):
|
|
448
|
-
response_data =
|
|
445
|
+
response_data = unmarshal_json_response(
|
|
449
446
|
errors.TooManyRequestsErrorData, http_res
|
|
450
447
|
)
|
|
451
448
|
raise errors.TooManyRequestsError(response_data, http_res)
|
|
452
449
|
if utils.match_response(http_res, "500", "application/json"):
|
|
453
|
-
response_data =
|
|
450
|
+
response_data = unmarshal_json_response(
|
|
454
451
|
errors.InternalServerErrorData, http_res
|
|
455
452
|
)
|
|
456
453
|
raise errors.InternalServerError(response_data, http_res)
|
|
@@ -551,29 +548,29 @@ class Docs(BaseSDK):
|
|
|
551
548
|
|
|
552
549
|
response_data: Any = None
|
|
553
550
|
if utils.match_response(http_res, "202", "application/json"):
|
|
554
|
-
return
|
|
551
|
+
return unmarshal_json_response(models.MessageResponse, http_res)
|
|
555
552
|
if utils.match_response(http_res, "400", "application/json"):
|
|
556
|
-
response_data =
|
|
553
|
+
response_data = unmarshal_json_response(
|
|
557
554
|
errors.BadRequestErrorData, http_res
|
|
558
555
|
)
|
|
559
556
|
raise errors.BadRequestError(response_data, http_res)
|
|
560
557
|
if utils.match_response(http_res, "401", "application/json"):
|
|
561
|
-
response_data =
|
|
558
|
+
response_data = unmarshal_json_response(
|
|
562
559
|
errors.UnauthenticatedErrorData, http_res
|
|
563
560
|
)
|
|
564
561
|
raise errors.UnauthenticatedError(response_data, http_res)
|
|
565
562
|
if utils.match_response(http_res, "404", "application/json"):
|
|
566
|
-
response_data =
|
|
563
|
+
response_data = unmarshal_json_response(
|
|
567
564
|
errors.ResourceNotFoundErrorData, http_res
|
|
568
565
|
)
|
|
569
566
|
raise errors.ResourceNotFoundError(response_data, http_res)
|
|
570
567
|
if utils.match_response(http_res, "429", "application/json"):
|
|
571
|
-
response_data =
|
|
568
|
+
response_data = unmarshal_json_response(
|
|
572
569
|
errors.TooManyRequestsErrorData, http_res
|
|
573
570
|
)
|
|
574
571
|
raise errors.TooManyRequestsError(response_data, http_res)
|
|
575
572
|
if utils.match_response(http_res, "500", "application/json"):
|
|
576
|
-
response_data =
|
|
573
|
+
response_data = unmarshal_json_response(
|
|
577
574
|
errors.InternalServerErrorData, http_res
|
|
578
575
|
)
|
|
579
576
|
raise errors.InternalServerError(response_data, http_res)
|
|
@@ -674,29 +671,29 @@ class Docs(BaseSDK):
|
|
|
674
671
|
|
|
675
672
|
response_data: Any = None
|
|
676
673
|
if utils.match_response(http_res, "202", "application/json"):
|
|
677
|
-
return
|
|
674
|
+
return unmarshal_json_response(models.MessageResponse, http_res)
|
|
678
675
|
if utils.match_response(http_res, "400", "application/json"):
|
|
679
|
-
response_data =
|
|
676
|
+
response_data = unmarshal_json_response(
|
|
680
677
|
errors.BadRequestErrorData, http_res
|
|
681
678
|
)
|
|
682
679
|
raise errors.BadRequestError(response_data, http_res)
|
|
683
680
|
if utils.match_response(http_res, "401", "application/json"):
|
|
684
|
-
response_data =
|
|
681
|
+
response_data = unmarshal_json_response(
|
|
685
682
|
errors.UnauthenticatedErrorData, http_res
|
|
686
683
|
)
|
|
687
684
|
raise errors.UnauthenticatedError(response_data, http_res)
|
|
688
685
|
if utils.match_response(http_res, "404", "application/json"):
|
|
689
|
-
response_data =
|
|
686
|
+
response_data = unmarshal_json_response(
|
|
690
687
|
errors.ResourceNotFoundErrorData, http_res
|
|
691
688
|
)
|
|
692
689
|
raise errors.ResourceNotFoundError(response_data, http_res)
|
|
693
690
|
if utils.match_response(http_res, "429", "application/json"):
|
|
694
|
-
response_data =
|
|
691
|
+
response_data = unmarshal_json_response(
|
|
695
692
|
errors.TooManyRequestsErrorData, http_res
|
|
696
693
|
)
|
|
697
694
|
raise errors.TooManyRequestsError(response_data, http_res)
|
|
698
695
|
if utils.match_response(http_res, "500", "application/json"):
|
|
699
|
-
response_data =
|
|
696
|
+
response_data = unmarshal_json_response(
|
|
700
697
|
errors.InternalServerErrorData, http_res
|
|
701
698
|
)
|
|
702
699
|
raise errors.InternalServerError(response_data, http_res)
|
|
@@ -793,29 +790,29 @@ class Docs(BaseSDK):
|
|
|
793
790
|
|
|
794
791
|
response_data: Any = None
|
|
795
792
|
if utils.match_response(http_res, "202", "application/json"):
|
|
796
|
-
return
|
|
793
|
+
return unmarshal_json_response(models.MessageResponse, http_res)
|
|
797
794
|
if utils.match_response(http_res, "400", "application/json"):
|
|
798
|
-
response_data =
|
|
795
|
+
response_data = unmarshal_json_response(
|
|
799
796
|
errors.BadRequestErrorData, http_res
|
|
800
797
|
)
|
|
801
798
|
raise errors.BadRequestError(response_data, http_res)
|
|
802
799
|
if utils.match_response(http_res, "401", "application/json"):
|
|
803
|
-
response_data =
|
|
800
|
+
response_data = unmarshal_json_response(
|
|
804
801
|
errors.UnauthenticatedErrorData, http_res
|
|
805
802
|
)
|
|
806
803
|
raise errors.UnauthenticatedError(response_data, http_res)
|
|
807
804
|
if utils.match_response(http_res, "404", "application/json"):
|
|
808
|
-
response_data =
|
|
805
|
+
response_data = unmarshal_json_response(
|
|
809
806
|
errors.ResourceNotFoundErrorData, http_res
|
|
810
807
|
)
|
|
811
808
|
raise errors.ResourceNotFoundError(response_data, http_res)
|
|
812
809
|
if utils.match_response(http_res, "429", "application/json"):
|
|
813
|
-
response_data =
|
|
810
|
+
response_data = unmarshal_json_response(
|
|
814
811
|
errors.TooManyRequestsErrorData, http_res
|
|
815
812
|
)
|
|
816
813
|
raise errors.TooManyRequestsError(response_data, http_res)
|
|
817
814
|
if utils.match_response(http_res, "500", "application/json"):
|
|
818
|
-
response_data =
|
|
815
|
+
response_data = unmarshal_json_response(
|
|
819
816
|
errors.InternalServerErrorData, http_res
|
|
820
817
|
)
|
|
821
818
|
raise errors.InternalServerError(response_data, http_res)
|
|
@@ -912,29 +909,29 @@ class Docs(BaseSDK):
|
|
|
912
909
|
|
|
913
910
|
response_data: Any = None
|
|
914
911
|
if utils.match_response(http_res, "202", "application/json"):
|
|
915
|
-
return
|
|
912
|
+
return unmarshal_json_response(models.MessageResponse, http_res)
|
|
916
913
|
if utils.match_response(http_res, "400", "application/json"):
|
|
917
|
-
response_data =
|
|
914
|
+
response_data = unmarshal_json_response(
|
|
918
915
|
errors.BadRequestErrorData, http_res
|
|
919
916
|
)
|
|
920
917
|
raise errors.BadRequestError(response_data, http_res)
|
|
921
918
|
if utils.match_response(http_res, "401", "application/json"):
|
|
922
|
-
response_data =
|
|
919
|
+
response_data = unmarshal_json_response(
|
|
923
920
|
errors.UnauthenticatedErrorData, http_res
|
|
924
921
|
)
|
|
925
922
|
raise errors.UnauthenticatedError(response_data, http_res)
|
|
926
923
|
if utils.match_response(http_res, "404", "application/json"):
|
|
927
|
-
response_data =
|
|
924
|
+
response_data = unmarshal_json_response(
|
|
928
925
|
errors.ResourceNotFoundErrorData, http_res
|
|
929
926
|
)
|
|
930
927
|
raise errors.ResourceNotFoundError(response_data, http_res)
|
|
931
928
|
if utils.match_response(http_res, "429", "application/json"):
|
|
932
|
-
response_data =
|
|
929
|
+
response_data = unmarshal_json_response(
|
|
933
930
|
errors.TooManyRequestsErrorData, http_res
|
|
934
931
|
)
|
|
935
932
|
raise errors.TooManyRequestsError(response_data, http_res)
|
|
936
933
|
if utils.match_response(http_res, "500", "application/json"):
|
|
937
|
-
response_data =
|
|
934
|
+
response_data = unmarshal_json_response(
|
|
938
935
|
errors.InternalServerErrorData, http_res
|
|
939
936
|
)
|
|
940
937
|
raise errors.InternalServerError(response_data, http_res)
|
|
@@ -1034,29 +1031,29 @@ class Docs(BaseSDK):
|
|
|
1034
1031
|
|
|
1035
1032
|
response_data: Any = None
|
|
1036
1033
|
if utils.match_response(http_res, "202", "application/json"):
|
|
1037
|
-
return
|
|
1034
|
+
return unmarshal_json_response(models.MessageResponse, http_res)
|
|
1038
1035
|
if utils.match_response(http_res, "400", "application/json"):
|
|
1039
|
-
response_data =
|
|
1036
|
+
response_data = unmarshal_json_response(
|
|
1040
1037
|
errors.BadRequestErrorData, http_res
|
|
1041
1038
|
)
|
|
1042
1039
|
raise errors.BadRequestError(response_data, http_res)
|
|
1043
1040
|
if utils.match_response(http_res, "401", "application/json"):
|
|
1044
|
-
response_data =
|
|
1041
|
+
response_data = unmarshal_json_response(
|
|
1045
1042
|
errors.UnauthenticatedErrorData, http_res
|
|
1046
1043
|
)
|
|
1047
1044
|
raise errors.UnauthenticatedError(response_data, http_res)
|
|
1048
1045
|
if utils.match_response(http_res, "404", "application/json"):
|
|
1049
|
-
response_data =
|
|
1046
|
+
response_data = unmarshal_json_response(
|
|
1050
1047
|
errors.ResourceNotFoundErrorData, http_res
|
|
1051
1048
|
)
|
|
1052
1049
|
raise errors.ResourceNotFoundError(response_data, http_res)
|
|
1053
1050
|
if utils.match_response(http_res, "429", "application/json"):
|
|
1054
|
-
response_data =
|
|
1051
|
+
response_data = unmarshal_json_response(
|
|
1055
1052
|
errors.TooManyRequestsErrorData, http_res
|
|
1056
1053
|
)
|
|
1057
1054
|
raise errors.TooManyRequestsError(response_data, http_res)
|
|
1058
1055
|
if utils.match_response(http_res, "500", "application/json"):
|
|
1059
|
-
response_data =
|
|
1056
|
+
response_data = unmarshal_json_response(
|
|
1060
1057
|
errors.InternalServerErrorData, http_res
|
|
1061
1058
|
)
|
|
1062
1059
|
raise errors.InternalServerError(response_data, http_res)
|
|
@@ -1156,29 +1153,29 @@ class Docs(BaseSDK):
|
|
|
1156
1153
|
|
|
1157
1154
|
response_data: Any = None
|
|
1158
1155
|
if utils.match_response(http_res, "202", "application/json"):
|
|
1159
|
-
return
|
|
1156
|
+
return unmarshal_json_response(models.MessageResponse, http_res)
|
|
1160
1157
|
if utils.match_response(http_res, "400", "application/json"):
|
|
1161
|
-
response_data =
|
|
1158
|
+
response_data = unmarshal_json_response(
|
|
1162
1159
|
errors.BadRequestErrorData, http_res
|
|
1163
1160
|
)
|
|
1164
1161
|
raise errors.BadRequestError(response_data, http_res)
|
|
1165
1162
|
if utils.match_response(http_res, "401", "application/json"):
|
|
1166
|
-
response_data =
|
|
1163
|
+
response_data = unmarshal_json_response(
|
|
1167
1164
|
errors.UnauthenticatedErrorData, http_res
|
|
1168
1165
|
)
|
|
1169
1166
|
raise errors.UnauthenticatedError(response_data, http_res)
|
|
1170
1167
|
if utils.match_response(http_res, "404", "application/json"):
|
|
1171
|
-
response_data =
|
|
1168
|
+
response_data = unmarshal_json_response(
|
|
1172
1169
|
errors.ResourceNotFoundErrorData, http_res
|
|
1173
1170
|
)
|
|
1174
1171
|
raise errors.ResourceNotFoundError(response_data, http_res)
|
|
1175
1172
|
if utils.match_response(http_res, "429", "application/json"):
|
|
1176
|
-
response_data =
|
|
1173
|
+
response_data = unmarshal_json_response(
|
|
1177
1174
|
errors.TooManyRequestsErrorData, http_res
|
|
1178
1175
|
)
|
|
1179
1176
|
raise errors.TooManyRequestsError(response_data, http_res)
|
|
1180
1177
|
if utils.match_response(http_res, "500", "application/json"):
|
|
1181
|
-
response_data =
|
|
1178
|
+
response_data = unmarshal_json_response(
|
|
1182
1179
|
errors.InternalServerErrorData, http_res
|
|
1183
1180
|
)
|
|
1184
1181
|
raise errors.InternalServerError(response_data, http_res)
|
|
@@ -1281,29 +1278,29 @@ class Docs(BaseSDK):
|
|
|
1281
1278
|
|
|
1282
1279
|
response_data: Any = None
|
|
1283
1280
|
if utils.match_response(http_res, "200", "application/json"):
|
|
1284
|
-
return
|
|
1281
|
+
return unmarshal_json_response(models.FetchDocsResponse, http_res)
|
|
1285
1282
|
if utils.match_response(http_res, "400", "application/json"):
|
|
1286
|
-
response_data =
|
|
1283
|
+
response_data = unmarshal_json_response(
|
|
1287
1284
|
errors.BadRequestErrorData, http_res
|
|
1288
1285
|
)
|
|
1289
1286
|
raise errors.BadRequestError(response_data, http_res)
|
|
1290
1287
|
if utils.match_response(http_res, "401", "application/json"):
|
|
1291
|
-
response_data =
|
|
1288
|
+
response_data = unmarshal_json_response(
|
|
1292
1289
|
errors.UnauthenticatedErrorData, http_res
|
|
1293
1290
|
)
|
|
1294
1291
|
raise errors.UnauthenticatedError(response_data, http_res)
|
|
1295
1292
|
if utils.match_response(http_res, "404", "application/json"):
|
|
1296
|
-
response_data =
|
|
1293
|
+
response_data = unmarshal_json_response(
|
|
1297
1294
|
errors.ResourceNotFoundErrorData, http_res
|
|
1298
1295
|
)
|
|
1299
1296
|
raise errors.ResourceNotFoundError(response_data, http_res)
|
|
1300
1297
|
if utils.match_response(http_res, "429", "application/json"):
|
|
1301
|
-
response_data =
|
|
1298
|
+
response_data = unmarshal_json_response(
|
|
1302
1299
|
errors.TooManyRequestsErrorData, http_res
|
|
1303
1300
|
)
|
|
1304
1301
|
raise errors.TooManyRequestsError(response_data, http_res)
|
|
1305
1302
|
if utils.match_response(http_res, "500", "application/json"):
|
|
1306
|
-
response_data =
|
|
1303
|
+
response_data = unmarshal_json_response(
|
|
1307
1304
|
errors.InternalServerErrorData, http_res
|
|
1308
1305
|
)
|
|
1309
1306
|
raise errors.InternalServerError(response_data, http_res)
|
|
@@ -1406,29 +1403,29 @@ class Docs(BaseSDK):
|
|
|
1406
1403
|
|
|
1407
1404
|
response_data: Any = None
|
|
1408
1405
|
if utils.match_response(http_res, "200", "application/json"):
|
|
1409
|
-
return
|
|
1406
|
+
return unmarshal_json_response(models.FetchDocsResponse, http_res)
|
|
1410
1407
|
if utils.match_response(http_res, "400", "application/json"):
|
|
1411
|
-
response_data =
|
|
1408
|
+
response_data = unmarshal_json_response(
|
|
1412
1409
|
errors.BadRequestErrorData, http_res
|
|
1413
1410
|
)
|
|
1414
1411
|
raise errors.BadRequestError(response_data, http_res)
|
|
1415
1412
|
if utils.match_response(http_res, "401", "application/json"):
|
|
1416
|
-
response_data =
|
|
1413
|
+
response_data = unmarshal_json_response(
|
|
1417
1414
|
errors.UnauthenticatedErrorData, http_res
|
|
1418
1415
|
)
|
|
1419
1416
|
raise errors.UnauthenticatedError(response_data, http_res)
|
|
1420
1417
|
if utils.match_response(http_res, "404", "application/json"):
|
|
1421
|
-
response_data =
|
|
1418
|
+
response_data = unmarshal_json_response(
|
|
1422
1419
|
errors.ResourceNotFoundErrorData, http_res
|
|
1423
1420
|
)
|
|
1424
1421
|
raise errors.ResourceNotFoundError(response_data, http_res)
|
|
1425
1422
|
if utils.match_response(http_res, "429", "application/json"):
|
|
1426
|
-
response_data =
|
|
1423
|
+
response_data = unmarshal_json_response(
|
|
1427
1424
|
errors.TooManyRequestsErrorData, http_res
|
|
1428
1425
|
)
|
|
1429
1426
|
raise errors.TooManyRequestsError(response_data, http_res)
|
|
1430
1427
|
if utils.match_response(http_res, "500", "application/json"):
|
|
1431
|
-
response_data =
|
|
1428
|
+
response_data = unmarshal_json_response(
|
|
1432
1429
|
errors.InternalServerErrorData, http_res
|
|
1433
1430
|
)
|
|
1434
1431
|
raise errors.InternalServerError(response_data, http_res)
|
|
@@ -9,10 +9,10 @@ from typing_extensions import Annotated, NotRequired, TypedDict
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
class QueryCollectionRequestBodyTypedDict(TypedDict):
|
|
12
|
-
|
|
13
|
-
r"""Number of documents to return. Note that the maximum number of documents is 100."""
|
|
14
|
-
query: NotRequired[Dict[str, Any]]
|
|
12
|
+
query: Dict[str, Any]
|
|
15
13
|
r"""Query object."""
|
|
14
|
+
size: NotRequired[int]
|
|
15
|
+
r"""Number of documents to return. Note that the maximum number of documents is 100."""
|
|
16
16
|
consistent_read: NotRequired[bool]
|
|
17
17
|
r"""If your application requires a strongly consistent read, set consistentRead to true. Although a strongly consistent read might take more time than an eventually consistent read, it always returns the last updated value."""
|
|
18
18
|
include_vectors: NotRequired[bool]
|
|
@@ -24,12 +24,12 @@ class QueryCollectionRequestBodyTypedDict(TypedDict):
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
class QueryCollectionRequestBody(BaseModel):
|
|
27
|
-
|
|
28
|
-
r"""Number of documents to return. Note that the maximum number of documents is 100."""
|
|
29
|
-
|
|
30
|
-
query: Optional[Dict[str, Any]] = None
|
|
27
|
+
query: Dict[str, Any]
|
|
31
28
|
r"""Query object."""
|
|
32
29
|
|
|
30
|
+
size: Optional[int] = None
|
|
31
|
+
r"""Number of documents to return. Note that the maximum number of documents is 100."""
|
|
32
|
+
|
|
33
33
|
consistent_read: Annotated[
|
|
34
34
|
Optional[bool], pydantic.Field(alias="consistentRead")
|
|
35
35
|
] = False
|
|
@@ -90,12 +90,12 @@ class QueryCollectionResponseTypedDict(TypedDict):
|
|
|
90
90
|
|
|
91
91
|
took: int
|
|
92
92
|
r"""Elapsed time in milliseconds."""
|
|
93
|
-
max_score: float
|
|
94
|
-
r"""Maximum score."""
|
|
95
93
|
total: int
|
|
96
94
|
r"""Total number of documents returned."""
|
|
97
95
|
docs: List[QueryCollectionDocTypedDict]
|
|
98
96
|
r"""List of documents."""
|
|
97
|
+
max_score: NotRequired[float]
|
|
98
|
+
r"""Maximum score."""
|
|
99
99
|
|
|
100
100
|
|
|
101
101
|
class QueryCollectionResponse(BaseModel):
|
|
@@ -104,11 +104,11 @@ class QueryCollectionResponse(BaseModel):
|
|
|
104
104
|
took: int
|
|
105
105
|
r"""Elapsed time in milliseconds."""
|
|
106
106
|
|
|
107
|
-
max_score: Annotated[float, pydantic.Field(alias="maxScore")]
|
|
108
|
-
r"""Maximum score."""
|
|
109
|
-
|
|
110
107
|
total: int
|
|
111
108
|
r"""Total number of documents returned."""
|
|
112
109
|
|
|
113
110
|
docs: List[QueryCollectionDoc]
|
|
114
111
|
r"""List of documents."""
|
|
112
|
+
|
|
113
|
+
max_score: Annotated[Optional[float], pydantic.Field(alias="maxScore")] = None
|
|
114
|
+
r"""Maximum score."""
|
lambdadb/sdk.py
CHANGED
|
@@ -30,7 +30,7 @@ class LambdaDB(BaseSDK):
|
|
|
30
30
|
project_api_key: Optional[
|
|
31
31
|
Union[Optional[str], Callable[[], Optional[str]]]
|
|
32
32
|
] = None,
|
|
33
|
-
|
|
33
|
+
project_host: Optional[str] = None,
|
|
34
34
|
server_idx: Optional[int] = None,
|
|
35
35
|
server_url: Optional[str] = None,
|
|
36
36
|
url_params: Optional[Dict[str, str]] = None,
|
|
@@ -43,7 +43,7 @@ class LambdaDB(BaseSDK):
|
|
|
43
43
|
r"""Instantiates the SDK configuring it with the provided parameters.
|
|
44
44
|
|
|
45
45
|
:param project_api_key: The project_api_key required for authentication
|
|
46
|
-
:param
|
|
46
|
+
:param project_host: Allows setting the projectHost variable for url substitution
|
|
47
47
|
:param server_idx: The index of the server to use for all methods
|
|
48
48
|
:param server_url: The server URL to use for all methods
|
|
49
49
|
:param url_params: Parameters to optionally template the server URL with
|
|
@@ -85,7 +85,7 @@ class LambdaDB(BaseSDK):
|
|
|
85
85
|
server_url = utils.template_url(server_url, url_params)
|
|
86
86
|
server_defaults: List[Dict[str, str]] = [
|
|
87
87
|
{
|
|
88
|
-
"
|
|
88
|
+
"projectHost": project_host or "api.lambdadb.com/projects/default",
|
|
89
89
|
},
|
|
90
90
|
]
|
|
91
91
|
|
lambdadb/sdkconfiguration.py
CHANGED
lambdadb/utils/__init__.py
CHANGED
|
@@ -29,7 +29,6 @@ if TYPE_CHECKING:
|
|
|
29
29
|
marshal_json,
|
|
30
30
|
unmarshal,
|
|
31
31
|
unmarshal_json,
|
|
32
|
-
unmarshal_json_response,
|
|
33
32
|
serialize_decimal,
|
|
34
33
|
serialize_float,
|
|
35
34
|
serialize_int,
|
|
@@ -99,7 +98,6 @@ __all__ = [
|
|
|
99
98
|
"template_url",
|
|
100
99
|
"unmarshal",
|
|
101
100
|
"unmarshal_json",
|
|
102
|
-
"unmarshal_json_response",
|
|
103
101
|
"validate_decimal",
|
|
104
102
|
"validate_const",
|
|
105
103
|
"validate_float",
|
|
@@ -154,7 +152,6 @@ _dynamic_imports: dict[str, str] = {
|
|
|
154
152
|
"template_url": ".url",
|
|
155
153
|
"unmarshal": ".serializers",
|
|
156
154
|
"unmarshal_json": ".serializers",
|
|
157
|
-
"unmarshal_json_response": ".serializers",
|
|
158
155
|
"validate_decimal": ".serializers",
|
|
159
156
|
"validate_const": ".serializers",
|
|
160
157
|
"validate_float": ".serializers",
|
lambdadb/utils/serializers.py
CHANGED
|
@@ -4,7 +4,7 @@ from decimal import Decimal
|
|
|
4
4
|
import functools
|
|
5
5
|
import json
|
|
6
6
|
import typing
|
|
7
|
-
from typing import Any, Dict, List,
|
|
7
|
+
from typing import Any, Dict, List, Tuple, Union, get_args
|
|
8
8
|
import typing_extensions
|
|
9
9
|
from typing_extensions import get_origin
|
|
10
10
|
|
|
@@ -13,7 +13,6 @@ from pydantic import ConfigDict, create_model
|
|
|
13
13
|
from pydantic_core import from_json
|
|
14
14
|
|
|
15
15
|
from ..types.basemodel import BaseModel, Nullable, OptionalNullable, Unset
|
|
16
|
-
from lambdadb import errors
|
|
17
16
|
|
|
18
17
|
|
|
19
18
|
def serialize_decimal(as_str: bool):
|
|
@@ -141,22 +140,6 @@ def unmarshal_json(raw, typ: Any) -> Any:
|
|
|
141
140
|
return unmarshal(from_json(raw), typ)
|
|
142
141
|
|
|
143
142
|
|
|
144
|
-
def unmarshal_json_response(
|
|
145
|
-
typ: Any, http_res: httpx.Response, body: Optional[str] = None
|
|
146
|
-
) -> Any:
|
|
147
|
-
if body is None:
|
|
148
|
-
body = http_res.text
|
|
149
|
-
try:
|
|
150
|
-
return unmarshal_json(body, typ)
|
|
151
|
-
except Exception as e:
|
|
152
|
-
raise errors.ResponseValidationError(
|
|
153
|
-
"Response validation failed",
|
|
154
|
-
http_res,
|
|
155
|
-
e,
|
|
156
|
-
body,
|
|
157
|
-
) from e
|
|
158
|
-
|
|
159
|
-
|
|
160
143
|
def unmarshal(val, typ: Any) -> Any:
|
|
161
144
|
unmarshaller = create_model(
|
|
162
145
|
"Unmarshaller",
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from typing import Any, Optional
|
|
4
|
+
|
|
5
|
+
import httpx
|
|
6
|
+
|
|
7
|
+
from .serializers import unmarshal_json
|
|
8
|
+
from lambdadb import errors
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
def unmarshal_json_response(
|
|
12
|
+
typ: Any, http_res: httpx.Response, body: Optional[str] = None
|
|
13
|
+
) -> Any:
|
|
14
|
+
if body is None:
|
|
15
|
+
body = http_res.text
|
|
16
|
+
try:
|
|
17
|
+
return unmarshal_json(body, typ)
|
|
18
|
+
except Exception as e:
|
|
19
|
+
raise errors.ResponseValidationError(
|
|
20
|
+
"Response validation failed",
|
|
21
|
+
http_res,
|
|
22
|
+
e,
|
|
23
|
+
body,
|
|
24
|
+
) from e
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: lambdadb
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.4
|
|
4
4
|
Summary: Python Client SDK Generated by Speakeasy.
|
|
5
5
|
Author: Speakeasy
|
|
6
6
|
Requires-Python: >=3.9.2
|
|
@@ -339,11 +339,11 @@ with LambdaDB(
|
|
|
339
339
|
|
|
340
340
|
### Server Variables
|
|
341
341
|
|
|
342
|
-
The default server `https://{
|
|
342
|
+
The default server `https://{projectHost}` contains variables and is set to `https://api.lambdadb.com/projects/default` by default. To override default values, the following parameters are available when initializing the SDK client instance:
|
|
343
343
|
|
|
344
|
-
| Variable
|
|
345
|
-
|
|
|
346
|
-
| `
|
|
344
|
+
| Variable | Parameter | Default | Description |
|
|
345
|
+
| ------------- | ------------------- | ------------------------------------- | -------------------------- |
|
|
346
|
+
| `projectHost` | `project_host: str` | `"api.lambdadb.com/projects/default"` | The project URL of the API |
|
|
347
347
|
|
|
348
348
|
#### Example
|
|
349
349
|
|
|
@@ -352,7 +352,7 @@ from lambdadb import LambdaDB
|
|
|
352
352
|
|
|
353
353
|
|
|
354
354
|
with LambdaDB(
|
|
355
|
-
|
|
355
|
+
project_host="<value>"
|
|
356
356
|
project_api_key="<YOUR_PROJECT_API_KEY>",
|
|
357
357
|
) as lambda_db:
|
|
358
358
|
|
|
@@ -3,10 +3,10 @@ lambdadb/_hooks/__init__.py,sha256=p5J13DeYuISQyQWirjJAObHIf2VtIlOtFqnIpvjjVwk,1
|
|
|
3
3
|
lambdadb/_hooks/registration.py,sha256=1QZB41w6If7I9dXiOSQx6dhSc6BPWrnI5Q5bMOr4iVA,624
|
|
4
4
|
lambdadb/_hooks/sdkhooks.py,sha256=KGhPvIuUjurDBQOT6t-aWgiu1YDRXpn-OMz6_PkUdFk,2463
|
|
5
5
|
lambdadb/_hooks/types.py,sha256=09dUW5q4HN9aVFAhskDLQqjxLPBfDD97uuucmdcBa6Q,2987
|
|
6
|
-
lambdadb/_version.py,sha256=
|
|
6
|
+
lambdadb/_version.py,sha256=u-3Jrg0hwyDNCqXz9dyUndlEVQaybMntmp8Jm9-QNpY,458
|
|
7
7
|
lambdadb/basesdk.py,sha256=wu3Ri2Po6LxhBngXYkD4-Grlxa0DX9I18cPH2vme-uI,11887
|
|
8
|
-
lambdadb/collections.py,sha256=
|
|
9
|
-
lambdadb/docs.py,sha256=
|
|
8
|
+
lambdadb/collections.py,sha256=KAD2F4-R40sGDFQFuQ3-969jHNa1i9VcJK3fYXEPFE0,62326
|
|
9
|
+
lambdadb/docs.py,sha256=rfKHo3omdeuMoImwU9T-rZXku_Ikz3jLut29MtpFNaE,62678
|
|
10
10
|
lambdadb/errors/__init__.py,sha256=9_lvXJNi04FsujmLRi4BbOUtWA0L2ob2BJRBnXT5Kpg,3016
|
|
11
11
|
lambdadb/errors/apierror.py,sha256=OBYy3l8_qBC4OXKwl_OwY5ko4klJvjd0j9bqy1C_VZo,1224
|
|
12
12
|
lambdadb/errors/badrequest_error.py,sha256=0n_4BpubMGSKYHyJuvZnXGYRbDKs9G0QN6sm6xZLDeI,693
|
|
@@ -31,18 +31,18 @@ lambdadb/models/getcollectionop.py,sha256=Zew8mrD3JILVgRhAaTNBqVGlV6MRMyifsn4NXG
|
|
|
31
31
|
lambdadb/models/indexconfigs_union.py,sha256=LW0afqNPHxSd7PVyhi9bWALLkofPpewIzWCH5hlghkI,2055
|
|
32
32
|
lambdadb/models/listcollectionsop.py,sha256=2A7FEUqenNAGTvf_uROGTuKGsx0Ilgmx9bKcgYG81as,603
|
|
33
33
|
lambdadb/models/messageresponse.py,sha256=0QI5LuyZVLh0Z6Jytwlo2ebAZ6x1bw5TVe7zvzQCEnM,300
|
|
34
|
-
lambdadb/models/querycollectionop.py,sha256=
|
|
34
|
+
lambdadb/models/querycollectionop.py,sha256=vhKcUKhjrIcYXtHjtiFkQWS-5xLqLMM9e8RwkDDdJHw,3770
|
|
35
35
|
lambdadb/models/security.py,sha256=nP-VTWFY6O-UPNPsWcsg38JcXr2zSy_m7qieDix6SxA,698
|
|
36
36
|
lambdadb/models/status.py,sha256=pl66KcDT9ao6yLXXXOBqerh_StjpNiJb34Yf7VoijEI,250
|
|
37
37
|
lambdadb/models/updatecollectionop.py,sha256=MIy5LNAFX_DkHdnG8g7OmvdUCLSv2tckmM6MvhjMLMk,1546
|
|
38
38
|
lambdadb/models/updatedocsop.py,sha256=HwtHdJBHQc8WphlqD_pLwQsI2kcC4z1mRQ-u0EoxiZE,1207
|
|
39
39
|
lambdadb/models/upsertdocsop.py,sha256=8eOyS_VRJd0xiNipfCPItuqM2VvvgD4USwRra-tvCz4,1101
|
|
40
40
|
lambdadb/py.typed,sha256=zrp19r0G21lr2yRiMC0f8MFkQFGj9wMpSbboePMg8KM,59
|
|
41
|
-
lambdadb/sdk.py,sha256=
|
|
42
|
-
lambdadb/sdkconfiguration.py,sha256
|
|
41
|
+
lambdadb/sdk.py,sha256=uDEuPtU8is4KjWYUjCN0UWBSUXm15gNzM1n4OBB9mDY,6459
|
|
42
|
+
lambdadb/sdkconfiguration.py,sha256=-gd-9vv6kXs3n3Eh__5c4cArY58n0FfHIOSS6SRnPrc,1713
|
|
43
43
|
lambdadb/types/__init__.py,sha256=RArOwSgeeTIva6h-4ttjXwMUeCkz10nAFBL9D-QljI4,377
|
|
44
44
|
lambdadb/types/basemodel.py,sha256=L79WXvTECbSqaJzs8D3ud_KdIWkU7Cx2wbohDAktE9E,1127
|
|
45
|
-
lambdadb/utils/__init__.py,sha256=
|
|
45
|
+
lambdadb/utils/__init__.py,sha256=BQt6xIdX86A6mOHAnxAXBXaPgdUJtDy2-_4ymAsII_Y,5436
|
|
46
46
|
lambdadb/utils/annotations.py,sha256=aR7mZG34FzgRdew7WZPYEu9QGBerpuKxCF4sek5Z_5Y,1699
|
|
47
47
|
lambdadb/utils/datetimes.py,sha256=oppAA5e3V35pQov1-FNLKxAaNF1_XWi-bQtyjjql3H8,855
|
|
48
48
|
lambdadb/utils/enums.py,sha256=REU6ydF8gsVL3xaeGX4sMNyiL3q5P9h29-f6Sa6luAE,2633
|
|
@@ -55,10 +55,11 @@ lambdadb/utils/queryparams.py,sha256=MTK6inMS1_WwjmMJEJmAn67tSHHJyarpdGRlorRHEtI
|
|
|
55
55
|
lambdadb/utils/requestbodies.py,sha256=ySjEyjcLi731LNUahWvLOrES2HihuA8VrOJx4eQ7Qzg,2101
|
|
56
56
|
lambdadb/utils/retries.py,sha256=6yhfZifqIat9i76xF0lTR2jLj1IN9BNGyqqxATlEFPU,6348
|
|
57
57
|
lambdadb/utils/security.py,sha256=Dq3M6Ee_x_uWRPZ7vvM4XQNxjCMSlphrRn6qVs1pljU,6034
|
|
58
|
-
lambdadb/utils/serializers.py,sha256=
|
|
58
|
+
lambdadb/utils/serializers.py,sha256=Hndks5M_rJXVub_N5lu0gKZQUoEmWrn6PN7R-0HwvOE,5999
|
|
59
|
+
lambdadb/utils/unmarshal_json_response.py,sha256=SdqH-uoU2JxE7yVb6ZGSSzDdrS5VlaijaEYMrkgRb_c,584
|
|
59
60
|
lambdadb/utils/url.py,sha256=BgGPgcTA6MRK4bF8fjP2dUopN3NzEzxWMXPBVg8NQUA,5254
|
|
60
61
|
lambdadb/utils/values.py,sha256=CcaCXEa3xHhkUDROyXZocN8f0bdITftv9Y0P9lTf0YM,3517
|
|
61
|
-
lambdadb-0.5.
|
|
62
|
-
lambdadb-0.5.
|
|
63
|
-
lambdadb-0.5.
|
|
64
|
-
lambdadb-0.5.
|
|
62
|
+
lambdadb-0.5.4.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
63
|
+
lambdadb-0.5.4.dist-info/METADATA,sha256=pItsTusM3yJlbXQsx24T-o29bt2DndCUxE20NqGm0ps,21588
|
|
64
|
+
lambdadb-0.5.4.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
65
|
+
lambdadb-0.5.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|