lambdadb 0.3.2__py3-none-any.whl → 0.3.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 +16 -16
- lambdadb/docs.py +30 -28
- lambdadb/models/__init__.py +31 -43
- lambdadb/models/bulkupsertdocsop.py +1 -14
- lambdadb/models/collectionresponse.py +14 -18
- lambdadb/models/createcollectionop.py +13 -0
- lambdadb/models/deletecollectionop.py +1 -14
- lambdadb/models/deletedocsop.py +21 -20
- lambdadb/models/fetchdocsop.py +6 -6
- lambdadb/models/getbulkupsertdocsop.py +7 -7
- lambdadb/models/getcollectionop.py +13 -0
- lambdadb/models/listcollectionsop.py +4 -4
- lambdadb/models/{ids.py → messageresponse.py} +4 -7
- lambdadb/models/querycollectionop.py +8 -8
- lambdadb/models/updatecollectionop.py +13 -0
- lambdadb/models/updatedocsop.py +2 -14
- lambdadb/models/upsertdocsop.py +2 -14
- {lambdadb-0.3.2.dist-info → lambdadb-0.3.4.dist-info}/METADATA +1 -1
- {lambdadb-0.3.2.dist-info → lambdadb-0.3.4.dist-info}/RECORD +22 -23
- lambdadb/models/filter_.py +0 -24
- {lambdadb-0.3.2.dist-info → lambdadb-0.3.4.dist-info}/LICENSE +0 -0
- {lambdadb-0.3.2.dist-info → lambdadb-0.3.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.3.
|
|
7
|
-
__openapi_doc_version__: str = "1.1.
|
|
6
|
+
__version__: str = "0.3.4"
|
|
7
|
+
__openapi_doc_version__: str = "1.1.1"
|
|
8
8
|
__gen_version__: str = "2.644.1"
|
|
9
|
-
__user_agent__: str = "speakeasy-sdk/python 0.3.
|
|
9
|
+
__user_agent__: str = "speakeasy-sdk/python 0.3.4 2.644.1 1.1.1 lambdadb"
|
|
10
10
|
|
|
11
11
|
try:
|
|
12
12
|
if __package__ is not None:
|
lambdadb/collections.py
CHANGED
|
@@ -274,7 +274,7 @@ class Collections(BaseSDK):
|
|
|
274
274
|
server_url: Optional[str] = None,
|
|
275
275
|
timeout_ms: Optional[int] = None,
|
|
276
276
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
277
|
-
) -> models.
|
|
277
|
+
) -> models.CreateCollectionResponse:
|
|
278
278
|
r"""Create a collection.
|
|
279
279
|
|
|
280
280
|
:param project_name: Project name.
|
|
@@ -365,7 +365,7 @@ class Collections(BaseSDK):
|
|
|
365
365
|
|
|
366
366
|
response_data: Any = None
|
|
367
367
|
if utils.match_response(http_res, "202", "application/json"):
|
|
368
|
-
return utils.unmarshal_json(http_res.text, models.
|
|
368
|
+
return utils.unmarshal_json(http_res.text, models.CreateCollectionResponse)
|
|
369
369
|
if utils.match_response(http_res, "400", "application/json"):
|
|
370
370
|
response_data = utils.unmarshal_json(
|
|
371
371
|
http_res.text, errors.BadRequestErrorData
|
|
@@ -430,7 +430,7 @@ class Collections(BaseSDK):
|
|
|
430
430
|
server_url: Optional[str] = None,
|
|
431
431
|
timeout_ms: Optional[int] = None,
|
|
432
432
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
433
|
-
) -> models.
|
|
433
|
+
) -> models.CreateCollectionResponse:
|
|
434
434
|
r"""Create a collection.
|
|
435
435
|
|
|
436
436
|
:param project_name: Project name.
|
|
@@ -521,7 +521,7 @@ class Collections(BaseSDK):
|
|
|
521
521
|
|
|
522
522
|
response_data: Any = None
|
|
523
523
|
if utils.match_response(http_res, "202", "application/json"):
|
|
524
|
-
return utils.unmarshal_json(http_res.text, models.
|
|
524
|
+
return utils.unmarshal_json(http_res.text, models.CreateCollectionResponse)
|
|
525
525
|
if utils.match_response(http_res, "400", "application/json"):
|
|
526
526
|
response_data = utils.unmarshal_json(
|
|
527
527
|
http_res.text, errors.BadRequestErrorData
|
|
@@ -576,7 +576,7 @@ class Collections(BaseSDK):
|
|
|
576
576
|
server_url: Optional[str] = None,
|
|
577
577
|
timeout_ms: Optional[int] = None,
|
|
578
578
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
579
|
-
) -> models.
|
|
579
|
+
) -> models.MessageResponse:
|
|
580
580
|
r"""Delete an existing collection.
|
|
581
581
|
|
|
582
582
|
:param project_name: Project name.
|
|
@@ -646,7 +646,7 @@ class Collections(BaseSDK):
|
|
|
646
646
|
|
|
647
647
|
response_data: Any = None
|
|
648
648
|
if utils.match_response(http_res, "202", "application/json"):
|
|
649
|
-
return utils.unmarshal_json(http_res.text, models.
|
|
649
|
+
return utils.unmarshal_json(http_res.text, models.MessageResponse)
|
|
650
650
|
if utils.match_response(http_res, "401", "application/json"):
|
|
651
651
|
response_data = utils.unmarshal_json(
|
|
652
652
|
http_res.text, errors.UnauthenticatedErrorData
|
|
@@ -696,7 +696,7 @@ class Collections(BaseSDK):
|
|
|
696
696
|
server_url: Optional[str] = None,
|
|
697
697
|
timeout_ms: Optional[int] = None,
|
|
698
698
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
699
|
-
) -> models.
|
|
699
|
+
) -> models.MessageResponse:
|
|
700
700
|
r"""Delete an existing collection.
|
|
701
701
|
|
|
702
702
|
:param project_name: Project name.
|
|
@@ -766,7 +766,7 @@ class Collections(BaseSDK):
|
|
|
766
766
|
|
|
767
767
|
response_data: Any = None
|
|
768
768
|
if utils.match_response(http_res, "202", "application/json"):
|
|
769
|
-
return utils.unmarshal_json(http_res.text, models.
|
|
769
|
+
return utils.unmarshal_json(http_res.text, models.MessageResponse)
|
|
770
770
|
if utils.match_response(http_res, "401", "application/json"):
|
|
771
771
|
response_data = utils.unmarshal_json(
|
|
772
772
|
http_res.text, errors.UnauthenticatedErrorData
|
|
@@ -816,7 +816,7 @@ class Collections(BaseSDK):
|
|
|
816
816
|
server_url: Optional[str] = None,
|
|
817
817
|
timeout_ms: Optional[int] = None,
|
|
818
818
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
819
|
-
) -> models.
|
|
819
|
+
) -> models.GetCollectionResponse:
|
|
820
820
|
r"""Get metadata of an existing collection.
|
|
821
821
|
|
|
822
822
|
:param project_name: Project name.
|
|
@@ -886,7 +886,7 @@ class Collections(BaseSDK):
|
|
|
886
886
|
|
|
887
887
|
response_data: Any = None
|
|
888
888
|
if utils.match_response(http_res, "200", "application/json"):
|
|
889
|
-
return utils.unmarshal_json(http_res.text, models.
|
|
889
|
+
return utils.unmarshal_json(http_res.text, models.GetCollectionResponse)
|
|
890
890
|
if utils.match_response(http_res, "401", "application/json"):
|
|
891
891
|
response_data = utils.unmarshal_json(
|
|
892
892
|
http_res.text, errors.UnauthenticatedErrorData
|
|
@@ -936,7 +936,7 @@ class Collections(BaseSDK):
|
|
|
936
936
|
server_url: Optional[str] = None,
|
|
937
937
|
timeout_ms: Optional[int] = None,
|
|
938
938
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
939
|
-
) -> models.
|
|
939
|
+
) -> models.GetCollectionResponse:
|
|
940
940
|
r"""Get metadata of an existing collection.
|
|
941
941
|
|
|
942
942
|
:param project_name: Project name.
|
|
@@ -1006,7 +1006,7 @@ class Collections(BaseSDK):
|
|
|
1006
1006
|
|
|
1007
1007
|
response_data: Any = None
|
|
1008
1008
|
if utils.match_response(http_res, "200", "application/json"):
|
|
1009
|
-
return utils.unmarshal_json(http_res.text, models.
|
|
1009
|
+
return utils.unmarshal_json(http_res.text, models.GetCollectionResponse)
|
|
1010
1010
|
if utils.match_response(http_res, "401", "application/json"):
|
|
1011
1011
|
response_data = utils.unmarshal_json(
|
|
1012
1012
|
http_res.text, errors.UnauthenticatedErrorData
|
|
@@ -1060,7 +1060,7 @@ class Collections(BaseSDK):
|
|
|
1060
1060
|
server_url: Optional[str] = None,
|
|
1061
1061
|
timeout_ms: Optional[int] = None,
|
|
1062
1062
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1063
|
-
) -> models.
|
|
1063
|
+
) -> models.UpdateCollectionResponse:
|
|
1064
1064
|
r"""Configure a collection.
|
|
1065
1065
|
|
|
1066
1066
|
:param project_name: Project name.
|
|
@@ -1143,7 +1143,7 @@ class Collections(BaseSDK):
|
|
|
1143
1143
|
|
|
1144
1144
|
response_data: Any = None
|
|
1145
1145
|
if utils.match_response(http_res, "200", "application/json"):
|
|
1146
|
-
return utils.unmarshal_json(http_res.text, models.
|
|
1146
|
+
return utils.unmarshal_json(http_res.text, models.UpdateCollectionResponse)
|
|
1147
1147
|
if utils.match_response(http_res, "400", "application/json"):
|
|
1148
1148
|
response_data = utils.unmarshal_json(
|
|
1149
1149
|
http_res.text, errors.BadRequestErrorData
|
|
@@ -1202,7 +1202,7 @@ class Collections(BaseSDK):
|
|
|
1202
1202
|
server_url: Optional[str] = None,
|
|
1203
1203
|
timeout_ms: Optional[int] = None,
|
|
1204
1204
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1205
|
-
) -> models.
|
|
1205
|
+
) -> models.UpdateCollectionResponse:
|
|
1206
1206
|
r"""Configure a collection.
|
|
1207
1207
|
|
|
1208
1208
|
:param project_name: Project name.
|
|
@@ -1285,7 +1285,7 @@ class Collections(BaseSDK):
|
|
|
1285
1285
|
|
|
1286
1286
|
response_data: Any = None
|
|
1287
1287
|
if utils.match_response(http_res, "200", "application/json"):
|
|
1288
|
-
return utils.unmarshal_json(http_res.text, models.
|
|
1288
|
+
return utils.unmarshal_json(http_res.text, models.UpdateCollectionResponse)
|
|
1289
1289
|
if utils.match_response(http_res, "400", "application/json"):
|
|
1290
1290
|
response_data = utils.unmarshal_json(
|
|
1291
1291
|
http_res.text, errors.BadRequestErrorData
|
lambdadb/docs.py
CHANGED
|
@@ -19,7 +19,7 @@ class Docs(BaseSDK):
|
|
|
19
19
|
server_url: Optional[str] = None,
|
|
20
20
|
timeout_ms: Optional[int] = None,
|
|
21
21
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
22
|
-
) -> models.
|
|
22
|
+
) -> models.MessageResponse:
|
|
23
23
|
r"""Upsert documents into a collection. Note that the maximum supported payload size is 6MB.
|
|
24
24
|
|
|
25
25
|
:param project_name: Project name.
|
|
@@ -96,7 +96,7 @@ class Docs(BaseSDK):
|
|
|
96
96
|
|
|
97
97
|
response_data: Any = None
|
|
98
98
|
if utils.match_response(http_res, "202", "application/json"):
|
|
99
|
-
return utils.unmarshal_json(http_res.text, models.
|
|
99
|
+
return utils.unmarshal_json(http_res.text, models.MessageResponse)
|
|
100
100
|
if utils.match_response(http_res, "400", "application/json"):
|
|
101
101
|
response_data = utils.unmarshal_json(
|
|
102
102
|
http_res.text, errors.BadRequestErrorData
|
|
@@ -152,7 +152,7 @@ class Docs(BaseSDK):
|
|
|
152
152
|
server_url: Optional[str] = None,
|
|
153
153
|
timeout_ms: Optional[int] = None,
|
|
154
154
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
155
|
-
) -> models.
|
|
155
|
+
) -> models.MessageResponse:
|
|
156
156
|
r"""Upsert documents into a collection. Note that the maximum supported payload size is 6MB.
|
|
157
157
|
|
|
158
158
|
:param project_name: Project name.
|
|
@@ -229,7 +229,7 @@ class Docs(BaseSDK):
|
|
|
229
229
|
|
|
230
230
|
response_data: Any = None
|
|
231
231
|
if utils.match_response(http_res, "202", "application/json"):
|
|
232
|
-
return utils.unmarshal_json(http_res.text, models.
|
|
232
|
+
return utils.unmarshal_json(http_res.text, models.MessageResponse)
|
|
233
233
|
if utils.match_response(http_res, "400", "application/json"):
|
|
234
234
|
response_data = utils.unmarshal_json(
|
|
235
235
|
http_res.text, errors.BadRequestErrorData
|
|
@@ -525,7 +525,7 @@ class Docs(BaseSDK):
|
|
|
525
525
|
server_url: Optional[str] = None,
|
|
526
526
|
timeout_ms: Optional[int] = None,
|
|
527
527
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
528
|
-
) -> models.
|
|
528
|
+
) -> models.MessageResponse:
|
|
529
529
|
r"""Bulk upsert documents into a collection. Note that the maximum supported object size is 200MB.
|
|
530
530
|
|
|
531
531
|
:param project_name: Project name.
|
|
@@ -606,7 +606,7 @@ class Docs(BaseSDK):
|
|
|
606
606
|
|
|
607
607
|
response_data: Any = None
|
|
608
608
|
if utils.match_response(http_res, "202", "application/json"):
|
|
609
|
-
return utils.unmarshal_json(http_res.text, models.
|
|
609
|
+
return utils.unmarshal_json(http_res.text, models.MessageResponse)
|
|
610
610
|
if utils.match_response(http_res, "400", "application/json"):
|
|
611
611
|
response_data = utils.unmarshal_json(
|
|
612
612
|
http_res.text, errors.BadRequestErrorData
|
|
@@ -662,7 +662,7 @@ class Docs(BaseSDK):
|
|
|
662
662
|
server_url: Optional[str] = None,
|
|
663
663
|
timeout_ms: Optional[int] = None,
|
|
664
664
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
665
|
-
) -> models.
|
|
665
|
+
) -> models.MessageResponse:
|
|
666
666
|
r"""Bulk upsert documents into a collection. Note that the maximum supported object size is 200MB.
|
|
667
667
|
|
|
668
668
|
:param project_name: Project name.
|
|
@@ -743,7 +743,7 @@ class Docs(BaseSDK):
|
|
|
743
743
|
|
|
744
744
|
response_data: Any = None
|
|
745
745
|
if utils.match_response(http_res, "202", "application/json"):
|
|
746
|
-
return utils.unmarshal_json(http_res.text, models.
|
|
746
|
+
return utils.unmarshal_json(http_res.text, models.MessageResponse)
|
|
747
747
|
if utils.match_response(http_res, "400", "application/json"):
|
|
748
748
|
response_data = utils.unmarshal_json(
|
|
749
749
|
http_res.text, errors.BadRequestErrorData
|
|
@@ -799,7 +799,7 @@ class Docs(BaseSDK):
|
|
|
799
799
|
server_url: Optional[str] = None,
|
|
800
800
|
timeout_ms: Optional[int] = None,
|
|
801
801
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
802
|
-
) -> models.
|
|
802
|
+
) -> models.MessageResponse:
|
|
803
803
|
r"""Update documents in a collection. Note that the maximum supported payload size is 6MB.
|
|
804
804
|
|
|
805
805
|
:param project_name: Project name.
|
|
@@ -876,7 +876,7 @@ class Docs(BaseSDK):
|
|
|
876
876
|
|
|
877
877
|
response_data: Any = None
|
|
878
878
|
if utils.match_response(http_res, "202", "application/json"):
|
|
879
|
-
return utils.unmarshal_json(http_res.text, models.
|
|
879
|
+
return utils.unmarshal_json(http_res.text, models.MessageResponse)
|
|
880
880
|
if utils.match_response(http_res, "400", "application/json"):
|
|
881
881
|
response_data = utils.unmarshal_json(
|
|
882
882
|
http_res.text, errors.BadRequestErrorData
|
|
@@ -932,7 +932,7 @@ class Docs(BaseSDK):
|
|
|
932
932
|
server_url: Optional[str] = None,
|
|
933
933
|
timeout_ms: Optional[int] = None,
|
|
934
934
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
935
|
-
) -> models.
|
|
935
|
+
) -> models.MessageResponse:
|
|
936
936
|
r"""Update documents in a collection. Note that the maximum supported payload size is 6MB.
|
|
937
937
|
|
|
938
938
|
:param project_name: Project name.
|
|
@@ -1009,7 +1009,7 @@ class Docs(BaseSDK):
|
|
|
1009
1009
|
|
|
1010
1010
|
response_data: Any = None
|
|
1011
1011
|
if utils.match_response(http_res, "202", "application/json"):
|
|
1012
|
-
return utils.unmarshal_json(http_res.text, models.
|
|
1012
|
+
return utils.unmarshal_json(http_res.text, models.MessageResponse)
|
|
1013
1013
|
if utils.match_response(http_res, "400", "application/json"):
|
|
1014
1014
|
response_data = utils.unmarshal_json(
|
|
1015
1015
|
http_res.text, errors.BadRequestErrorData
|
|
@@ -1060,19 +1060,19 @@ class Docs(BaseSDK):
|
|
|
1060
1060
|
*,
|
|
1061
1061
|
project_name: str,
|
|
1062
1062
|
collection_name: str,
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
],
|
|
1063
|
+
ids: Optional[List[str]] = None,
|
|
1064
|
+
filter_: Optional[Union[models.Filter, models.FilterTypedDict]] = None,
|
|
1066
1065
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
1067
1066
|
server_url: Optional[str] = None,
|
|
1068
1067
|
timeout_ms: Optional[int] = None,
|
|
1069
1068
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1070
|
-
) -> models.
|
|
1069
|
+
) -> models.MessageResponse:
|
|
1071
1070
|
r"""Delete documents by document IDs or query filter from a collection.
|
|
1072
1071
|
|
|
1073
1072
|
:param project_name: Project name.
|
|
1074
1073
|
:param collection_name: Collection name.
|
|
1075
|
-
:param
|
|
1074
|
+
:param ids: A list of document IDs.
|
|
1075
|
+
:param filter_: Query filter.
|
|
1076
1076
|
:param retries: Override the default retry configuration for this method
|
|
1077
1077
|
:param server_url: Override the default server URL for this method
|
|
1078
1078
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -1091,8 +1091,9 @@ class Docs(BaseSDK):
|
|
|
1091
1091
|
request = models.DeleteDocsRequest(
|
|
1092
1092
|
project_name=project_name,
|
|
1093
1093
|
collection_name=collection_name,
|
|
1094
|
-
request_body=
|
|
1095
|
-
|
|
1094
|
+
request_body=models.DeleteDocsRequestBody(
|
|
1095
|
+
ids=ids,
|
|
1096
|
+
filter_=utils.get_pydantic_model(filter_, Optional[models.Filter]),
|
|
1096
1097
|
),
|
|
1097
1098
|
)
|
|
1098
1099
|
|
|
@@ -1144,7 +1145,7 @@ class Docs(BaseSDK):
|
|
|
1144
1145
|
|
|
1145
1146
|
response_data: Any = None
|
|
1146
1147
|
if utils.match_response(http_res, "202", "application/json"):
|
|
1147
|
-
return utils.unmarshal_json(http_res.text, models.
|
|
1148
|
+
return utils.unmarshal_json(http_res.text, models.MessageResponse)
|
|
1148
1149
|
if utils.match_response(http_res, "400", "application/json"):
|
|
1149
1150
|
response_data = utils.unmarshal_json(
|
|
1150
1151
|
http_res.text, errors.BadRequestErrorData
|
|
@@ -1195,19 +1196,19 @@ class Docs(BaseSDK):
|
|
|
1195
1196
|
*,
|
|
1196
1197
|
project_name: str,
|
|
1197
1198
|
collection_name: str,
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
],
|
|
1199
|
+
ids: Optional[List[str]] = None,
|
|
1200
|
+
filter_: Optional[Union[models.Filter, models.FilterTypedDict]] = None,
|
|
1201
1201
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
1202
1202
|
server_url: Optional[str] = None,
|
|
1203
1203
|
timeout_ms: Optional[int] = None,
|
|
1204
1204
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1205
|
-
) -> models.
|
|
1205
|
+
) -> models.MessageResponse:
|
|
1206
1206
|
r"""Delete documents by document IDs or query filter from a collection.
|
|
1207
1207
|
|
|
1208
1208
|
:param project_name: Project name.
|
|
1209
1209
|
:param collection_name: Collection name.
|
|
1210
|
-
:param
|
|
1210
|
+
:param ids: A list of document IDs.
|
|
1211
|
+
:param filter_: Query filter.
|
|
1211
1212
|
:param retries: Override the default retry configuration for this method
|
|
1212
1213
|
:param server_url: Override the default server URL for this method
|
|
1213
1214
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -1226,8 +1227,9 @@ class Docs(BaseSDK):
|
|
|
1226
1227
|
request = models.DeleteDocsRequest(
|
|
1227
1228
|
project_name=project_name,
|
|
1228
1229
|
collection_name=collection_name,
|
|
1229
|
-
request_body=
|
|
1230
|
-
|
|
1230
|
+
request_body=models.DeleteDocsRequestBody(
|
|
1231
|
+
ids=ids,
|
|
1232
|
+
filter_=utils.get_pydantic_model(filter_, Optional[models.Filter]),
|
|
1231
1233
|
),
|
|
1232
1234
|
)
|
|
1233
1235
|
|
|
@@ -1279,7 +1281,7 @@ class Docs(BaseSDK):
|
|
|
1279
1281
|
|
|
1280
1282
|
response_data: Any = None
|
|
1281
1283
|
if utils.match_response(http_res, "202", "application/json"):
|
|
1282
|
-
return utils.unmarshal_json(http_res.text, models.
|
|
1284
|
+
return utils.unmarshal_json(http_res.text, models.MessageResponse)
|
|
1283
1285
|
if utils.match_response(http_res, "400", "application/json"):
|
|
1284
1286
|
response_data = utils.unmarshal_json(
|
|
1285
1287
|
http_res.text, errors.BadRequestErrorData
|
lambdadb/models/__init__.py
CHANGED
|
@@ -9,8 +9,6 @@ if TYPE_CHECKING:
|
|
|
9
9
|
BulkUpsertDocsRequestBody,
|
|
10
10
|
BulkUpsertDocsRequestBodyTypedDict,
|
|
11
11
|
BulkUpsertDocsRequestTypedDict,
|
|
12
|
-
BulkUpsertDocsResponse,
|
|
13
|
-
BulkUpsertDocsResponseTypedDict,
|
|
14
12
|
)
|
|
15
13
|
from .collectionresponse import CollectionResponse, CollectionResponseTypedDict
|
|
16
14
|
from .createcollectionop import (
|
|
@@ -18,20 +16,20 @@ if TYPE_CHECKING:
|
|
|
18
16
|
CreateCollectionRequestBody,
|
|
19
17
|
CreateCollectionRequestBodyTypedDict,
|
|
20
18
|
CreateCollectionRequestTypedDict,
|
|
19
|
+
CreateCollectionResponse,
|
|
20
|
+
CreateCollectionResponseTypedDict,
|
|
21
21
|
)
|
|
22
22
|
from .deletecollectionop import (
|
|
23
23
|
DeleteCollectionRequest,
|
|
24
24
|
DeleteCollectionRequestTypedDict,
|
|
25
|
-
DeleteCollectionResponse,
|
|
26
|
-
DeleteCollectionResponseTypedDict,
|
|
27
25
|
)
|
|
28
26
|
from .deletedocsop import (
|
|
29
27
|
DeleteDocsRequest,
|
|
30
28
|
DeleteDocsRequestBody,
|
|
31
29
|
DeleteDocsRequestBodyTypedDict,
|
|
32
30
|
DeleteDocsRequestTypedDict,
|
|
33
|
-
|
|
34
|
-
|
|
31
|
+
Filter,
|
|
32
|
+
FilterTypedDict,
|
|
35
33
|
)
|
|
36
34
|
from .fetchdocsop import (
|
|
37
35
|
FetchDocsDoc,
|
|
@@ -45,7 +43,6 @@ if TYPE_CHECKING:
|
|
|
45
43
|
FetchDocsResponse,
|
|
46
44
|
FetchDocsResponseTypedDict,
|
|
47
45
|
)
|
|
48
|
-
from .filter_ import Filter, FilterFilter, FilterFilterTypedDict, FilterTypedDict
|
|
49
46
|
from .getbulkupsertdocsop import (
|
|
50
47
|
GetBulkUpsertDocsRequest,
|
|
51
48
|
GetBulkUpsertDocsRequestTypedDict,
|
|
@@ -54,8 +51,12 @@ if TYPE_CHECKING:
|
|
|
54
51
|
GetBulkUpsertDocsType,
|
|
55
52
|
HTTPMethod,
|
|
56
53
|
)
|
|
57
|
-
from .getcollectionop import
|
|
58
|
-
|
|
54
|
+
from .getcollectionop import (
|
|
55
|
+
GetCollectionRequest,
|
|
56
|
+
GetCollectionRequestTypedDict,
|
|
57
|
+
GetCollectionResponse,
|
|
58
|
+
GetCollectionResponseTypedDict,
|
|
59
|
+
)
|
|
59
60
|
from .indexconfigs_union import (
|
|
60
61
|
Analyzer,
|
|
61
62
|
IndexConfigs,
|
|
@@ -77,6 +78,7 @@ if TYPE_CHECKING:
|
|
|
77
78
|
ListCollectionsResponse,
|
|
78
79
|
ListCollectionsResponseTypedDict,
|
|
79
80
|
)
|
|
81
|
+
from .messageresponse import MessageResponse, MessageResponseTypedDict
|
|
80
82
|
from .querycollectionop import (
|
|
81
83
|
Query,
|
|
82
84
|
QueryCollectionDoc,
|
|
@@ -100,6 +102,8 @@ if TYPE_CHECKING:
|
|
|
100
102
|
UpdateCollectionRequestBody,
|
|
101
103
|
UpdateCollectionRequestBodyTypedDict,
|
|
102
104
|
UpdateCollectionRequestTypedDict,
|
|
105
|
+
UpdateCollectionResponse,
|
|
106
|
+
UpdateCollectionResponseTypedDict,
|
|
103
107
|
)
|
|
104
108
|
from .updatedocsop import (
|
|
105
109
|
UpdateDocsDoc,
|
|
@@ -108,8 +112,6 @@ if TYPE_CHECKING:
|
|
|
108
112
|
UpdateDocsRequestBody,
|
|
109
113
|
UpdateDocsRequestBodyTypedDict,
|
|
110
114
|
UpdateDocsRequestTypedDict,
|
|
111
|
-
UpdateDocsResponse,
|
|
112
|
-
UpdateDocsResponseTypedDict,
|
|
113
115
|
)
|
|
114
116
|
from .upsertdocsop import (
|
|
115
117
|
UpsertDocsDoc,
|
|
@@ -118,8 +120,6 @@ if TYPE_CHECKING:
|
|
|
118
120
|
UpsertDocsRequestBody,
|
|
119
121
|
UpsertDocsRequestBodyTypedDict,
|
|
120
122
|
UpsertDocsRequestTypedDict,
|
|
121
|
-
UpsertDocsResponse,
|
|
122
|
-
UpsertDocsResponseTypedDict,
|
|
123
123
|
)
|
|
124
124
|
|
|
125
125
|
__all__ = [
|
|
@@ -128,24 +128,20 @@ __all__ = [
|
|
|
128
128
|
"BulkUpsertDocsRequestBody",
|
|
129
129
|
"BulkUpsertDocsRequestBodyTypedDict",
|
|
130
130
|
"BulkUpsertDocsRequestTypedDict",
|
|
131
|
-
"BulkUpsertDocsResponse",
|
|
132
|
-
"BulkUpsertDocsResponseTypedDict",
|
|
133
131
|
"CollectionResponse",
|
|
134
132
|
"CollectionResponseTypedDict",
|
|
135
133
|
"CreateCollectionRequest",
|
|
136
134
|
"CreateCollectionRequestBody",
|
|
137
135
|
"CreateCollectionRequestBodyTypedDict",
|
|
138
136
|
"CreateCollectionRequestTypedDict",
|
|
137
|
+
"CreateCollectionResponse",
|
|
138
|
+
"CreateCollectionResponseTypedDict",
|
|
139
139
|
"DeleteCollectionRequest",
|
|
140
140
|
"DeleteCollectionRequestTypedDict",
|
|
141
|
-
"DeleteCollectionResponse",
|
|
142
|
-
"DeleteCollectionResponseTypedDict",
|
|
143
141
|
"DeleteDocsRequest",
|
|
144
142
|
"DeleteDocsRequestBody",
|
|
145
143
|
"DeleteDocsRequestBodyTypedDict",
|
|
146
144
|
"DeleteDocsRequestTypedDict",
|
|
147
|
-
"DeleteDocsResponse",
|
|
148
|
-
"DeleteDocsResponseTypedDict",
|
|
149
145
|
"FetchDocsDoc",
|
|
150
146
|
"FetchDocsDocDoc",
|
|
151
147
|
"FetchDocsDocDocTypedDict",
|
|
@@ -157,8 +153,6 @@ __all__ = [
|
|
|
157
153
|
"FetchDocsResponse",
|
|
158
154
|
"FetchDocsResponseTypedDict",
|
|
159
155
|
"Filter",
|
|
160
|
-
"FilterFilter",
|
|
161
|
-
"FilterFilterTypedDict",
|
|
162
156
|
"FilterTypedDict",
|
|
163
157
|
"GetBulkUpsertDocsRequest",
|
|
164
158
|
"GetBulkUpsertDocsRequestTypedDict",
|
|
@@ -167,9 +161,9 @@ __all__ = [
|
|
|
167
161
|
"GetBulkUpsertDocsType",
|
|
168
162
|
"GetCollectionRequest",
|
|
169
163
|
"GetCollectionRequestTypedDict",
|
|
164
|
+
"GetCollectionResponse",
|
|
165
|
+
"GetCollectionResponseTypedDict",
|
|
170
166
|
"HTTPMethod",
|
|
171
|
-
"IDs",
|
|
172
|
-
"IDsTypedDict",
|
|
173
167
|
"IndexConfigs",
|
|
174
168
|
"IndexConfigsText",
|
|
175
169
|
"IndexConfigsTextTypedDict",
|
|
@@ -182,6 +176,8 @@ __all__ = [
|
|
|
182
176
|
"ListCollectionsRequestTypedDict",
|
|
183
177
|
"ListCollectionsResponse",
|
|
184
178
|
"ListCollectionsResponseTypedDict",
|
|
179
|
+
"MessageResponse",
|
|
180
|
+
"MessageResponseTypedDict",
|
|
185
181
|
"Query",
|
|
186
182
|
"QueryCollectionDoc",
|
|
187
183
|
"QueryCollectionDocDoc",
|
|
@@ -207,22 +203,20 @@ __all__ = [
|
|
|
207
203
|
"UpdateCollectionRequestBody",
|
|
208
204
|
"UpdateCollectionRequestBodyTypedDict",
|
|
209
205
|
"UpdateCollectionRequestTypedDict",
|
|
206
|
+
"UpdateCollectionResponse",
|
|
207
|
+
"UpdateCollectionResponseTypedDict",
|
|
210
208
|
"UpdateDocsDoc",
|
|
211
209
|
"UpdateDocsDocTypedDict",
|
|
212
210
|
"UpdateDocsRequest",
|
|
213
211
|
"UpdateDocsRequestBody",
|
|
214
212
|
"UpdateDocsRequestBodyTypedDict",
|
|
215
213
|
"UpdateDocsRequestTypedDict",
|
|
216
|
-
"UpdateDocsResponse",
|
|
217
|
-
"UpdateDocsResponseTypedDict",
|
|
218
214
|
"UpsertDocsDoc",
|
|
219
215
|
"UpsertDocsDocTypedDict",
|
|
220
216
|
"UpsertDocsRequest",
|
|
221
217
|
"UpsertDocsRequestBody",
|
|
222
218
|
"UpsertDocsRequestBodyTypedDict",
|
|
223
219
|
"UpsertDocsRequestTypedDict",
|
|
224
|
-
"UpsertDocsResponse",
|
|
225
|
-
"UpsertDocsResponseTypedDict",
|
|
226
220
|
]
|
|
227
221
|
|
|
228
222
|
_dynamic_imports: dict[str, str] = {
|
|
@@ -230,24 +224,22 @@ _dynamic_imports: dict[str, str] = {
|
|
|
230
224
|
"BulkUpsertDocsRequestBody": ".bulkupsertdocsop",
|
|
231
225
|
"BulkUpsertDocsRequestBodyTypedDict": ".bulkupsertdocsop",
|
|
232
226
|
"BulkUpsertDocsRequestTypedDict": ".bulkupsertdocsop",
|
|
233
|
-
"BulkUpsertDocsResponse": ".bulkupsertdocsop",
|
|
234
|
-
"BulkUpsertDocsResponseTypedDict": ".bulkupsertdocsop",
|
|
235
227
|
"CollectionResponse": ".collectionresponse",
|
|
236
228
|
"CollectionResponseTypedDict": ".collectionresponse",
|
|
237
229
|
"CreateCollectionRequest": ".createcollectionop",
|
|
238
230
|
"CreateCollectionRequestBody": ".createcollectionop",
|
|
239
231
|
"CreateCollectionRequestBodyTypedDict": ".createcollectionop",
|
|
240
232
|
"CreateCollectionRequestTypedDict": ".createcollectionop",
|
|
233
|
+
"CreateCollectionResponse": ".createcollectionop",
|
|
234
|
+
"CreateCollectionResponseTypedDict": ".createcollectionop",
|
|
241
235
|
"DeleteCollectionRequest": ".deletecollectionop",
|
|
242
236
|
"DeleteCollectionRequestTypedDict": ".deletecollectionop",
|
|
243
|
-
"DeleteCollectionResponse": ".deletecollectionop",
|
|
244
|
-
"DeleteCollectionResponseTypedDict": ".deletecollectionop",
|
|
245
237
|
"DeleteDocsRequest": ".deletedocsop",
|
|
246
238
|
"DeleteDocsRequestBody": ".deletedocsop",
|
|
247
239
|
"DeleteDocsRequestBodyTypedDict": ".deletedocsop",
|
|
248
240
|
"DeleteDocsRequestTypedDict": ".deletedocsop",
|
|
249
|
-
"
|
|
250
|
-
"
|
|
241
|
+
"Filter": ".deletedocsop",
|
|
242
|
+
"FilterTypedDict": ".deletedocsop",
|
|
251
243
|
"FetchDocsDoc": ".fetchdocsop",
|
|
252
244
|
"FetchDocsDocDoc": ".fetchdocsop",
|
|
253
245
|
"FetchDocsDocDocTypedDict": ".fetchdocsop",
|
|
@@ -258,10 +250,6 @@ _dynamic_imports: dict[str, str] = {
|
|
|
258
250
|
"FetchDocsRequestTypedDict": ".fetchdocsop",
|
|
259
251
|
"FetchDocsResponse": ".fetchdocsop",
|
|
260
252
|
"FetchDocsResponseTypedDict": ".fetchdocsop",
|
|
261
|
-
"Filter": ".filter_",
|
|
262
|
-
"FilterFilter": ".filter_",
|
|
263
|
-
"FilterFilterTypedDict": ".filter_",
|
|
264
|
-
"FilterTypedDict": ".filter_",
|
|
265
253
|
"GetBulkUpsertDocsRequest": ".getbulkupsertdocsop",
|
|
266
254
|
"GetBulkUpsertDocsRequestTypedDict": ".getbulkupsertdocsop",
|
|
267
255
|
"GetBulkUpsertDocsResponse": ".getbulkupsertdocsop",
|
|
@@ -270,8 +258,8 @@ _dynamic_imports: dict[str, str] = {
|
|
|
270
258
|
"HTTPMethod": ".getbulkupsertdocsop",
|
|
271
259
|
"GetCollectionRequest": ".getcollectionop",
|
|
272
260
|
"GetCollectionRequestTypedDict": ".getcollectionop",
|
|
273
|
-
"
|
|
274
|
-
"
|
|
261
|
+
"GetCollectionResponse": ".getcollectionop",
|
|
262
|
+
"GetCollectionResponseTypedDict": ".getcollectionop",
|
|
275
263
|
"Analyzer": ".indexconfigs_union",
|
|
276
264
|
"IndexConfigs": ".indexconfigs_union",
|
|
277
265
|
"IndexConfigsText": ".indexconfigs_union",
|
|
@@ -289,6 +277,8 @@ _dynamic_imports: dict[str, str] = {
|
|
|
289
277
|
"ListCollectionsRequestTypedDict": ".listcollectionsop",
|
|
290
278
|
"ListCollectionsResponse": ".listcollectionsop",
|
|
291
279
|
"ListCollectionsResponseTypedDict": ".listcollectionsop",
|
|
280
|
+
"MessageResponse": ".messageresponse",
|
|
281
|
+
"MessageResponseTypedDict": ".messageresponse",
|
|
292
282
|
"Query": ".querycollectionop",
|
|
293
283
|
"QueryCollectionDoc": ".querycollectionop",
|
|
294
284
|
"QueryCollectionDocDoc": ".querycollectionop",
|
|
@@ -310,22 +300,20 @@ _dynamic_imports: dict[str, str] = {
|
|
|
310
300
|
"UpdateCollectionRequestBody": ".updatecollectionop",
|
|
311
301
|
"UpdateCollectionRequestBodyTypedDict": ".updatecollectionop",
|
|
312
302
|
"UpdateCollectionRequestTypedDict": ".updatecollectionop",
|
|
303
|
+
"UpdateCollectionResponse": ".updatecollectionop",
|
|
304
|
+
"UpdateCollectionResponseTypedDict": ".updatecollectionop",
|
|
313
305
|
"UpdateDocsDoc": ".updatedocsop",
|
|
314
306
|
"UpdateDocsDocTypedDict": ".updatedocsop",
|
|
315
307
|
"UpdateDocsRequest": ".updatedocsop",
|
|
316
308
|
"UpdateDocsRequestBody": ".updatedocsop",
|
|
317
309
|
"UpdateDocsRequestBodyTypedDict": ".updatedocsop",
|
|
318
310
|
"UpdateDocsRequestTypedDict": ".updatedocsop",
|
|
319
|
-
"UpdateDocsResponse": ".updatedocsop",
|
|
320
|
-
"UpdateDocsResponseTypedDict": ".updatedocsop",
|
|
321
311
|
"UpsertDocsDoc": ".upsertdocsop",
|
|
322
312
|
"UpsertDocsDocTypedDict": ".upsertdocsop",
|
|
323
313
|
"UpsertDocsRequest": ".upsertdocsop",
|
|
324
314
|
"UpsertDocsRequestBody": ".upsertdocsop",
|
|
325
315
|
"UpsertDocsRequestBodyTypedDict": ".upsertdocsop",
|
|
326
316
|
"UpsertDocsRequestTypedDict": ".upsertdocsop",
|
|
327
|
-
"UpsertDocsResponse": ".upsertdocsop",
|
|
328
|
-
"UpsertDocsResponseTypedDict": ".upsertdocsop",
|
|
329
317
|
}
|
|
330
318
|
|
|
331
319
|
|
|
@@ -4,8 +4,7 @@ from __future__ import annotations
|
|
|
4
4
|
from lambdadb.types import BaseModel
|
|
5
5
|
from lambdadb.utils import FieldMetadata, PathParamMetadata, RequestMetadata
|
|
6
6
|
import pydantic
|
|
7
|
-
from
|
|
8
|
-
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
7
|
+
from typing_extensions import Annotated, TypedDict
|
|
9
8
|
|
|
10
9
|
|
|
11
10
|
class BulkUpsertDocsRequestBodyTypedDict(TypedDict):
|
|
@@ -45,15 +44,3 @@ class BulkUpsertDocsRequest(BaseModel):
|
|
|
45
44
|
BulkUpsertDocsRequestBody,
|
|
46
45
|
FieldMetadata(request=RequestMetadata(media_type="application/json")),
|
|
47
46
|
]
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
class BulkUpsertDocsResponseTypedDict(TypedDict):
|
|
51
|
-
r"""Bulk upsert request accepted."""
|
|
52
|
-
|
|
53
|
-
message: NotRequired[str]
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
class BulkUpsertDocsResponse(BaseModel):
|
|
57
|
-
r"""Bulk upsert request accepted."""
|
|
58
|
-
|
|
59
|
-
message: Optional[str] = None
|
|
@@ -10,39 +10,40 @@ from typing_extensions import Annotated, NotRequired, TypedDict
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
class CollectionResponseTypedDict(TypedDict):
|
|
13
|
-
project_name:
|
|
13
|
+
project_name: str
|
|
14
14
|
r"""Project name."""
|
|
15
|
-
collection_name:
|
|
15
|
+
collection_name: str
|
|
16
16
|
r"""Collection name."""
|
|
17
|
-
index_configs:
|
|
18
|
-
num_docs:
|
|
17
|
+
index_configs: Dict[str, IndexConfigsUnionTypedDict]
|
|
18
|
+
num_docs: int
|
|
19
19
|
r"""Total number of documents."""
|
|
20
|
+
collection_status: Status
|
|
21
|
+
r"""Status"""
|
|
20
22
|
source_project_name: NotRequired[str]
|
|
21
23
|
r"""Source project name."""
|
|
22
24
|
source_collection_name: NotRequired[str]
|
|
23
25
|
r"""Source collection name."""
|
|
24
26
|
source_collection_version_id: NotRequired[str]
|
|
25
27
|
r"""Source collection version."""
|
|
26
|
-
collection_status: NotRequired[Status]
|
|
27
|
-
r"""Status"""
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
class CollectionResponse(BaseModel):
|
|
31
|
-
project_name: Annotated[
|
|
31
|
+
project_name: Annotated[str, pydantic.Field(alias="projectName")]
|
|
32
32
|
r"""Project name."""
|
|
33
33
|
|
|
34
|
-
collection_name: Annotated[
|
|
35
|
-
Optional[str], pydantic.Field(alias="collectionName")
|
|
36
|
-
] = None
|
|
34
|
+
collection_name: Annotated[str, pydantic.Field(alias="collectionName")]
|
|
37
35
|
r"""Collection name."""
|
|
38
36
|
|
|
39
37
|
index_configs: Annotated[
|
|
40
|
-
|
|
41
|
-
]
|
|
38
|
+
Dict[str, IndexConfigsUnion], pydantic.Field(alias="indexConfigs")
|
|
39
|
+
]
|
|
42
40
|
|
|
43
|
-
num_docs: Annotated[
|
|
41
|
+
num_docs: Annotated[int, pydantic.Field(alias="numDocs")]
|
|
44
42
|
r"""Total number of documents."""
|
|
45
43
|
|
|
44
|
+
collection_status: Annotated[Status, pydantic.Field(alias="collectionStatus")]
|
|
45
|
+
r"""Status"""
|
|
46
|
+
|
|
46
47
|
source_project_name: Annotated[
|
|
47
48
|
Optional[str], pydantic.Field(alias="sourceProjectName")
|
|
48
49
|
] = None
|
|
@@ -57,8 +58,3 @@ class CollectionResponse(BaseModel):
|
|
|
57
58
|
Optional[str], pydantic.Field(alias="sourceCollectionVersionId")
|
|
58
59
|
] = None
|
|
59
60
|
r"""Source collection version."""
|
|
60
|
-
|
|
61
|
-
collection_status: Annotated[
|
|
62
|
-
Optional[Status], pydantic.Field(alias="collectionStatus")
|
|
63
|
-
] = None
|
|
64
|
-
r"""Status"""
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
+
from .collectionresponse import CollectionResponse, CollectionResponseTypedDict
|
|
4
5
|
from .indexconfigs_union import IndexConfigsUnion, IndexConfigsUnionTypedDict
|
|
5
6
|
from lambdadb.types import BaseModel
|
|
6
7
|
from lambdadb.utils import FieldMetadata, PathParamMetadata, RequestMetadata
|
|
@@ -62,3 +63,15 @@ class CreateCollectionRequest(BaseModel):
|
|
|
62
63
|
CreateCollectionRequestBody,
|
|
63
64
|
FieldMetadata(request=RequestMetadata(media_type="application/json")),
|
|
64
65
|
]
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
class CreateCollectionResponseTypedDict(TypedDict):
|
|
69
|
+
r"""Created collection"""
|
|
70
|
+
|
|
71
|
+
collection: CollectionResponseTypedDict
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
class CreateCollectionResponse(BaseModel):
|
|
75
|
+
r"""Created collection"""
|
|
76
|
+
|
|
77
|
+
collection: CollectionResponse
|
|
@@ -4,8 +4,7 @@ from __future__ import annotations
|
|
|
4
4
|
from lambdadb.types import BaseModel
|
|
5
5
|
from lambdadb.utils import FieldMetadata, PathParamMetadata
|
|
6
6
|
import pydantic
|
|
7
|
-
from
|
|
8
|
-
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
7
|
+
from typing_extensions import Annotated, TypedDict
|
|
9
8
|
|
|
10
9
|
|
|
11
10
|
class DeleteCollectionRequestTypedDict(TypedDict):
|
|
@@ -29,15 +28,3 @@ class DeleteCollectionRequest(BaseModel):
|
|
|
29
28
|
FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
|
|
30
29
|
]
|
|
31
30
|
r"""Collection name."""
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
class DeleteCollectionResponseTypedDict(TypedDict):
|
|
35
|
-
r"""Collection delete request accepted."""
|
|
36
|
-
|
|
37
|
-
message: NotRequired[str]
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
class DeleteCollectionResponse(BaseModel):
|
|
41
|
-
r"""Collection delete request accepted."""
|
|
42
|
-
|
|
43
|
-
message: Optional[str] = None
|
lambdadb/models/deletedocsop.py
CHANGED
|
@@ -1,21 +1,34 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from .filter_ import Filter, FilterTypedDict
|
|
5
|
-
from .ids import IDs, IDsTypedDict
|
|
6
4
|
from lambdadb.types import BaseModel
|
|
7
5
|
from lambdadb.utils import FieldMetadata, PathParamMetadata, RequestMetadata
|
|
8
6
|
import pydantic
|
|
9
|
-
from typing import
|
|
10
|
-
from typing_extensions import Annotated, NotRequired,
|
|
7
|
+
from typing import List, Optional
|
|
8
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
11
9
|
|
|
12
10
|
|
|
13
|
-
|
|
14
|
-
"
|
|
15
|
-
)
|
|
11
|
+
class FilterTypedDict(TypedDict):
|
|
12
|
+
r"""Query filter."""
|
|
16
13
|
|
|
17
14
|
|
|
18
|
-
|
|
15
|
+
class Filter(BaseModel):
|
|
16
|
+
r"""Query filter."""
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
class DeleteDocsRequestBodyTypedDict(TypedDict):
|
|
20
|
+
ids: NotRequired[List[str]]
|
|
21
|
+
r"""A list of document IDs."""
|
|
22
|
+
filter_: NotRequired[FilterTypedDict]
|
|
23
|
+
r"""Query filter."""
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
class DeleteDocsRequestBody(BaseModel):
|
|
27
|
+
ids: Optional[List[str]] = None
|
|
28
|
+
r"""A list of document IDs."""
|
|
29
|
+
|
|
30
|
+
filter_: Annotated[Optional[Filter], pydantic.Field(alias="filter")] = None
|
|
31
|
+
r"""Query filter."""
|
|
19
32
|
|
|
20
33
|
|
|
21
34
|
class DeleteDocsRequestTypedDict(TypedDict):
|
|
@@ -45,15 +58,3 @@ class DeleteDocsRequest(BaseModel):
|
|
|
45
58
|
DeleteDocsRequestBody,
|
|
46
59
|
FieldMetadata(request=RequestMetadata(media_type="application/json")),
|
|
47
60
|
]
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
class DeleteDocsResponseTypedDict(TypedDict):
|
|
51
|
-
r"""Delete request accepted."""
|
|
52
|
-
|
|
53
|
-
message: NotRequired[str]
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
class DeleteDocsResponse(BaseModel):
|
|
57
|
-
r"""Delete request accepted."""
|
|
58
|
-
|
|
59
|
-
message: Optional[str] = None
|
lambdadb/models/fetchdocsop.py
CHANGED
|
@@ -83,20 +83,20 @@ class FetchDocsDoc(BaseModel):
|
|
|
83
83
|
class FetchDocsResponseTypedDict(TypedDict):
|
|
84
84
|
r"""Fetched documents."""
|
|
85
85
|
|
|
86
|
-
total:
|
|
86
|
+
total: int
|
|
87
87
|
r"""Total number of documents returned."""
|
|
88
|
-
took:
|
|
88
|
+
took: int
|
|
89
89
|
r"""Elapsed time in milliseconds."""
|
|
90
|
-
docs:
|
|
90
|
+
docs: List[FetchDocsDocTypedDict]
|
|
91
91
|
|
|
92
92
|
|
|
93
93
|
class FetchDocsResponse(BaseModel):
|
|
94
94
|
r"""Fetched documents."""
|
|
95
95
|
|
|
96
|
-
total:
|
|
96
|
+
total: int
|
|
97
97
|
r"""Total number of documents returned."""
|
|
98
98
|
|
|
99
|
-
took:
|
|
99
|
+
took: int
|
|
100
100
|
r"""Elapsed time in milliseconds."""
|
|
101
101
|
|
|
102
|
-
docs:
|
|
102
|
+
docs: List[FetchDocsDoc]
|
|
@@ -47,14 +47,14 @@ class HTTPMethod(str, Enum):
|
|
|
47
47
|
class GetBulkUpsertDocsResponseTypedDict(TypedDict):
|
|
48
48
|
r"""Required info to upload documents."""
|
|
49
49
|
|
|
50
|
-
url:
|
|
50
|
+
url: str
|
|
51
51
|
r"""Presigned URL."""
|
|
52
|
+
object_key: str
|
|
53
|
+
r"""Object key that must be specified when uploading documents."""
|
|
52
54
|
type: NotRequired[GetBulkUpsertDocsType]
|
|
53
55
|
r"""Content type that must be specified when uploading documents."""
|
|
54
56
|
http_method: NotRequired[HTTPMethod]
|
|
55
57
|
r"""HTTP method that must be specified when uploading documents."""
|
|
56
|
-
object_key: NotRequired[str]
|
|
57
|
-
r"""Object key that must be specified when uploading documents."""
|
|
58
58
|
size_limit_bytes: NotRequired[int]
|
|
59
59
|
r"""Object size limit in bytes."""
|
|
60
60
|
|
|
@@ -62,9 +62,12 @@ class GetBulkUpsertDocsResponseTypedDict(TypedDict):
|
|
|
62
62
|
class GetBulkUpsertDocsResponse(BaseModel):
|
|
63
63
|
r"""Required info to upload documents."""
|
|
64
64
|
|
|
65
|
-
url:
|
|
65
|
+
url: str
|
|
66
66
|
r"""Presigned URL."""
|
|
67
67
|
|
|
68
|
+
object_key: Annotated[str, pydantic.Field(alias="objectKey")]
|
|
69
|
+
r"""Object key that must be specified when uploading documents."""
|
|
70
|
+
|
|
68
71
|
type: Optional[GetBulkUpsertDocsType] = GetBulkUpsertDocsType.APPLICATION_JSON
|
|
69
72
|
r"""Content type that must be specified when uploading documents."""
|
|
70
73
|
|
|
@@ -73,9 +76,6 @@ class GetBulkUpsertDocsResponse(BaseModel):
|
|
|
73
76
|
)
|
|
74
77
|
r"""HTTP method that must be specified when uploading documents."""
|
|
75
78
|
|
|
76
|
-
object_key: Annotated[Optional[str], pydantic.Field(alias="objectKey")] = None
|
|
77
|
-
r"""Object key that must be specified when uploading documents."""
|
|
78
|
-
|
|
79
79
|
size_limit_bytes: Annotated[
|
|
80
80
|
Optional[int], pydantic.Field(alias="sizeLimitBytes")
|
|
81
81
|
] = 209715200
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
+
from .collectionresponse import CollectionResponse, CollectionResponseTypedDict
|
|
4
5
|
from lambdadb.types import BaseModel
|
|
5
6
|
from lambdadb.utils import FieldMetadata, PathParamMetadata
|
|
6
7
|
import pydantic
|
|
@@ -28,3 +29,15 @@ class GetCollectionRequest(BaseModel):
|
|
|
28
29
|
FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
|
|
29
30
|
]
|
|
30
31
|
r"""Collection name."""
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
class GetCollectionResponseTypedDict(TypedDict):
|
|
35
|
+
r"""Describe collection success."""
|
|
36
|
+
|
|
37
|
+
collection: CollectionResponseTypedDict
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
class GetCollectionResponse(BaseModel):
|
|
41
|
+
r"""Describe collection success."""
|
|
42
|
+
|
|
43
|
+
collection: CollectionResponse
|
|
@@ -5,8 +5,8 @@ from .collectionresponse import CollectionResponse, CollectionResponseTypedDict
|
|
|
5
5
|
from lambdadb.types import BaseModel
|
|
6
6
|
from lambdadb.utils import FieldMetadata, PathParamMetadata
|
|
7
7
|
import pydantic
|
|
8
|
-
from typing import List
|
|
9
|
-
from typing_extensions import Annotated,
|
|
8
|
+
from typing import List
|
|
9
|
+
from typing_extensions import Annotated, TypedDict
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
class ListCollectionsRequestTypedDict(TypedDict):
|
|
@@ -26,10 +26,10 @@ class ListCollectionsRequest(BaseModel):
|
|
|
26
26
|
class ListCollectionsResponseTypedDict(TypedDict):
|
|
27
27
|
r"""A list of collections matched with a projectName."""
|
|
28
28
|
|
|
29
|
-
collections:
|
|
29
|
+
collections: List[CollectionResponseTypedDict]
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
class ListCollectionsResponse(BaseModel):
|
|
33
33
|
r"""A list of collections matched with a projectName."""
|
|
34
34
|
|
|
35
|
-
collections:
|
|
35
|
+
collections: List[CollectionResponse]
|
|
@@ -2,15 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
from lambdadb.types import BaseModel
|
|
5
|
-
from typing import List
|
|
6
5
|
from typing_extensions import TypedDict
|
|
7
6
|
|
|
8
7
|
|
|
9
|
-
class
|
|
10
|
-
|
|
11
|
-
r"""A list of document IDs."""
|
|
8
|
+
class MessageResponseTypedDict(TypedDict):
|
|
9
|
+
message: str
|
|
12
10
|
|
|
13
11
|
|
|
14
|
-
class
|
|
15
|
-
|
|
16
|
-
r"""A list of document IDs."""
|
|
12
|
+
class MessageResponse(BaseModel):
|
|
13
|
+
message: str
|
|
@@ -121,27 +121,27 @@ class QueryCollectionDoc(BaseModel):
|
|
|
121
121
|
class QueryCollectionResponseTypedDict(TypedDict):
|
|
122
122
|
r"""Documents selected by query."""
|
|
123
123
|
|
|
124
|
-
took:
|
|
124
|
+
took: int
|
|
125
125
|
r"""Elapsed time in milliseconds."""
|
|
126
|
-
max_score:
|
|
126
|
+
max_score: float
|
|
127
127
|
r"""Maximum score."""
|
|
128
|
-
total:
|
|
128
|
+
total: int
|
|
129
129
|
r"""Total number of documents returned."""
|
|
130
|
-
docs:
|
|
130
|
+
docs: List[QueryCollectionDocTypedDict]
|
|
131
131
|
r"""List of documents."""
|
|
132
132
|
|
|
133
133
|
|
|
134
134
|
class QueryCollectionResponse(BaseModel):
|
|
135
135
|
r"""Documents selected by query."""
|
|
136
136
|
|
|
137
|
-
took:
|
|
137
|
+
took: int
|
|
138
138
|
r"""Elapsed time in milliseconds."""
|
|
139
139
|
|
|
140
|
-
max_score: Annotated[
|
|
140
|
+
max_score: Annotated[float, pydantic.Field(alias="maxScore")]
|
|
141
141
|
r"""Maximum score."""
|
|
142
142
|
|
|
143
|
-
total:
|
|
143
|
+
total: int
|
|
144
144
|
r"""Total number of documents returned."""
|
|
145
145
|
|
|
146
|
-
docs:
|
|
146
|
+
docs: List[QueryCollectionDoc]
|
|
147
147
|
r"""List of documents."""
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
+
from .collectionresponse import CollectionResponse, CollectionResponseTypedDict
|
|
4
5
|
from .indexconfigs_union import IndexConfigsUnion, IndexConfigsUnionTypedDict
|
|
5
6
|
from lambdadb.types import BaseModel
|
|
6
7
|
from lambdadb.utils import FieldMetadata, PathParamMetadata, RequestMetadata
|
|
@@ -46,3 +47,15 @@ class UpdateCollectionRequest(BaseModel):
|
|
|
46
47
|
UpdateCollectionRequestBody,
|
|
47
48
|
FieldMetadata(request=RequestMetadata(media_type="application/json")),
|
|
48
49
|
]
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
class UpdateCollectionResponseTypedDict(TypedDict):
|
|
53
|
+
r"""Updated collection"""
|
|
54
|
+
|
|
55
|
+
collection: CollectionResponseTypedDict
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
class UpdateCollectionResponse(BaseModel):
|
|
59
|
+
r"""Updated collection"""
|
|
60
|
+
|
|
61
|
+
collection: CollectionResponse
|
lambdadb/models/updatedocsop.py
CHANGED
|
@@ -4,8 +4,8 @@ from __future__ import annotations
|
|
|
4
4
|
from lambdadb.types import BaseModel
|
|
5
5
|
from lambdadb.utils import FieldMetadata, PathParamMetadata, RequestMetadata
|
|
6
6
|
import pydantic
|
|
7
|
-
from typing import List
|
|
8
|
-
from typing_extensions import Annotated,
|
|
7
|
+
from typing import List
|
|
8
|
+
from typing_extensions import Annotated, TypedDict
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
class UpdateDocsDocTypedDict(TypedDict):
|
|
@@ -53,15 +53,3 @@ class UpdateDocsRequest(BaseModel):
|
|
|
53
53
|
UpdateDocsRequestBody,
|
|
54
54
|
FieldMetadata(request=RequestMetadata(media_type="application/json")),
|
|
55
55
|
]
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
class UpdateDocsResponseTypedDict(TypedDict):
|
|
59
|
-
r"""Update request accepted."""
|
|
60
|
-
|
|
61
|
-
message: NotRequired[str]
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
class UpdateDocsResponse(BaseModel):
|
|
65
|
-
r"""Update request accepted."""
|
|
66
|
-
|
|
67
|
-
message: Optional[str] = None
|
lambdadb/models/upsertdocsop.py
CHANGED
|
@@ -4,8 +4,8 @@ from __future__ import annotations
|
|
|
4
4
|
from lambdadb.types import BaseModel
|
|
5
5
|
from lambdadb.utils import FieldMetadata, PathParamMetadata, RequestMetadata
|
|
6
6
|
import pydantic
|
|
7
|
-
from typing import List
|
|
8
|
-
from typing_extensions import Annotated,
|
|
7
|
+
from typing import List
|
|
8
|
+
from typing_extensions import Annotated, TypedDict
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
class UpsertDocsDocTypedDict(TypedDict):
|
|
@@ -53,15 +53,3 @@ class UpsertDocsRequest(BaseModel):
|
|
|
53
53
|
UpsertDocsRequestBody,
|
|
54
54
|
FieldMetadata(request=RequestMetadata(media_type="application/json")),
|
|
55
55
|
]
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
class UpsertDocsResponseTypedDict(TypedDict):
|
|
59
|
-
r"""Upsert request accepted."""
|
|
60
|
-
|
|
61
|
-
message: NotRequired[str]
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
class UpsertDocsResponse(BaseModel):
|
|
65
|
-
r"""Upsert request accepted."""
|
|
66
|
-
|
|
67
|
-
message: Optional[str] = None
|
|
@@ -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=jdIr0kFchYIKtNEAruyNklAH32p6AuraM2eb2Vv0a7E,458
|
|
7
7
|
lambdadb/basesdk.py,sha256=Uo8ZEdXVHmS_j1F9on47XeJD6sj9plIrna_6Oo_1I-I,11853
|
|
8
|
-
lambdadb/collections.py,sha256=
|
|
9
|
-
lambdadb/docs.py,sha256=
|
|
8
|
+
lambdadb/collections.py,sha256=FJN_V6_q05oplCvCvwHB04IXtUbW9vwSk3v29_r1Ab8,69031
|
|
9
|
+
lambdadb/docs.py,sha256=pUv9XW8Xdk3y2TJxekbaSYlnSboU3fU0TxFts7uY_CY,69126
|
|
10
10
|
lambdadb/errors/__init__.py,sha256=V406LU9TLJQ0eocD79_PpsCjOmH6DAUnBTKd0Ra23uQ,2637
|
|
11
11
|
lambdadb/errors/apierror.py,sha256=9mTyJSyvUAOnSfW_1HWt9dGl8IDlpQ68DebwYsDNdug,528
|
|
12
12
|
lambdadb/errors/badrequest_error.py,sha256=OX1fo-ja-N-zqV4opH_LXnz_vwa2gZbgDx0aAeNMYL0,514
|
|
@@ -16,25 +16,24 @@ lambdadb/errors/resourcenotfound_error.py,sha256=VfsNJ9xJjMzZFoQGt5wu6JkUpRzFhrP
|
|
|
16
16
|
lambdadb/errors/toomanyrequests_error.py,sha256=yHFjs27JCb5mVmOZZqKmA4IG1ONs6FVERWIK_Gwgqwo,539
|
|
17
17
|
lambdadb/errors/unauthenticated_error.py,sha256=HD2a2JwLcIDefnkDLdbHJCbkY28u2cmAGOI8S6Q5m48,539
|
|
18
18
|
lambdadb/httpclient.py,sha256=Eu73urOAiZQtdUIyOUnPccxCiBbWEKrXG-JrRG3SLM4,3946
|
|
19
|
-
lambdadb/models/__init__.py,sha256=
|
|
20
|
-
lambdadb/models/bulkupsertdocsop.py,sha256=
|
|
21
|
-
lambdadb/models/collectionresponse.py,sha256=
|
|
22
|
-
lambdadb/models/createcollectionop.py,sha256=
|
|
23
|
-
lambdadb/models/deletecollectionop.py,sha256=
|
|
24
|
-
lambdadb/models/deletedocsop.py,sha256=
|
|
25
|
-
lambdadb/models/fetchdocsop.py,sha256=
|
|
26
|
-
lambdadb/models/
|
|
27
|
-
lambdadb/models/
|
|
28
|
-
lambdadb/models/getcollectionop.py,sha256=9X_4fW9sYfXVe_gPqCbnKBEr0z7ss_wNrhRdSXhNSRU,865
|
|
29
|
-
lambdadb/models/ids.py,sha256=au0wwB6mlctvODTLJnpzISvc2I_MBVj3PZ0XbnLeV38,374
|
|
19
|
+
lambdadb/models/__init__.py,sha256=WSl2r1PGIVHgCHxnfOFF_uulLqpyUqSVGNgzM9eSvPM,12134
|
|
20
|
+
lambdadb/models/bulkupsertdocsop.py,sha256=wjADqZrC71TNmyGUWhuQ5ZVibZc4dL9SACLdWHumToo,1390
|
|
21
|
+
lambdadb/models/collectionresponse.py,sha256=ZIF-GLeOV8RS-7MBSXGQuOjzOqeqCoTV_a5cndfnpug,1943
|
|
22
|
+
lambdadb/models/createcollectionop.py,sha256=KoQlGTr3eYr8GINmlslL8DDf5dCY97hliVuevtD_Fr8,2518
|
|
23
|
+
lambdadb/models/deletecollectionop.py,sha256=fy4Y0dGAB8AJbGxryKnE6xOCj_QTi9R4SzkcYwY74WY,871
|
|
24
|
+
lambdadb/models/deletedocsop.py,sha256=aPWHLQZyBtPsC-eVSt9GUEpEAfqhFmOvjkVmWmql_is,1635
|
|
25
|
+
lambdadb/models/fetchdocsop.py,sha256=Q5DteWYhwcV5rpqYQDGxN_y3cMw77crfrF_6Le_Vxu4,3193
|
|
26
|
+
lambdadb/models/getbulkupsertdocsop.py,sha256=S67W9IBoGXP8EVEGc6PfKkJgmOydzBhkzu6f6g2eGOU,2526
|
|
27
|
+
lambdadb/models/getcollectionop.py,sha256=Ef5uUwNHfnzU8Ij_E_8j1s4qYDy36C7mXiQZ8LY8VME,1199
|
|
30
28
|
lambdadb/models/indexconfigs_union.py,sha256=LW0afqNPHxSd7PVyhi9bWALLkofPpewIzWCH5hlghkI,2055
|
|
31
|
-
lambdadb/models/listcollectionsop.py,sha256=
|
|
32
|
-
lambdadb/models/
|
|
29
|
+
lambdadb/models/listcollectionsop.py,sha256=pfBvxfnsFwgsxPUg0Dkl1WeMOcsjvdOTcfx1iPUktEM,1028
|
|
30
|
+
lambdadb/models/messageresponse.py,sha256=0QI5LuyZVLh0Z6Jytwlo2ebAZ6x1bw5TVe7zvzQCEnM,300
|
|
31
|
+
lambdadb/models/querycollectionop.py,sha256=V57dkXWS_-c6JJX0famtkKar1btIg87OJk-0LQFd3-Q,4365
|
|
33
32
|
lambdadb/models/security.py,sha256=nP-VTWFY6O-UPNPsWcsg38JcXr2zSy_m7qieDix6SxA,698
|
|
34
33
|
lambdadb/models/status.py,sha256=pl66KcDT9ao6yLXXXOBqerh_StjpNiJb34Yf7VoijEI,250
|
|
35
|
-
lambdadb/models/updatecollectionop.py,sha256=
|
|
36
|
-
lambdadb/models/updatedocsop.py,sha256=
|
|
37
|
-
lambdadb/models/upsertdocsop.py,sha256=
|
|
34
|
+
lambdadb/models/updatecollectionop.py,sha256=oj-BlL3i-o_9WETep10kOQfAIEfO73FgJ2XR4QT_5JI,1790
|
|
35
|
+
lambdadb/models/updatedocsop.py,sha256=mtrU_5vNSzI90cprqb4IttiHVknCclcTnVWrv9GQ2tA,1542
|
|
36
|
+
lambdadb/models/upsertdocsop.py,sha256=aLj0ohOrwEVNOXLZI8DuIK-Z0xWdC-SBi6vDmUoH54I,1436
|
|
38
37
|
lambdadb/py.typed,sha256=zrp19r0G21lr2yRiMC0f8MFkQFGj9wMpSbboePMg8KM,59
|
|
39
38
|
lambdadb/sdk.py,sha256=r_MR7eLbat4LunLaRLw3GdkxXubZ6hEn0kegigYJ3vk,6097
|
|
40
39
|
lambdadb/sdkconfiguration.py,sha256=-sHtaoBluBcNOYRTKxLMnovJazRm3ZWV9VOYCSS0UNY,1589
|
|
@@ -56,7 +55,7 @@ lambdadb/utils/security.py,sha256=Dq3M6Ee_x_uWRPZ7vvM4XQNxjCMSlphrRn6qVs1pljU,60
|
|
|
56
55
|
lambdadb/utils/serializers.py,sha256=hiHBXM1AY8_N2Z_rvFfNSYwvLBkSQlPGFp8poasdU4s,5986
|
|
57
56
|
lambdadb/utils/url.py,sha256=BgGPgcTA6MRK4bF8fjP2dUopN3NzEzxWMXPBVg8NQUA,5254
|
|
58
57
|
lambdadb/utils/values.py,sha256=CcaCXEa3xHhkUDROyXZocN8f0bdITftv9Y0P9lTf0YM,3517
|
|
59
|
-
lambdadb-0.3.
|
|
60
|
-
lambdadb-0.3.
|
|
61
|
-
lambdadb-0.3.
|
|
62
|
-
lambdadb-0.3.
|
|
58
|
+
lambdadb-0.3.4.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
59
|
+
lambdadb-0.3.4.dist-info/METADATA,sha256=RrUyTiClbghFeQpCX4g4aYf3d4ozw2XtBCv3OcKK4r0,18689
|
|
60
|
+
lambdadb-0.3.4.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
61
|
+
lambdadb-0.3.4.dist-info/RECORD,,
|
lambdadb/models/filter_.py
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
-
|
|
3
|
-
from __future__ import annotations
|
|
4
|
-
from lambdadb.types import BaseModel
|
|
5
|
-
import pydantic
|
|
6
|
-
from typing_extensions import Annotated, TypedDict
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
class FilterFilterTypedDict(TypedDict):
|
|
10
|
-
r"""Query filter."""
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
class FilterFilter(BaseModel):
|
|
14
|
-
r"""Query filter."""
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
class FilterTypedDict(TypedDict):
|
|
18
|
-
filter_: FilterFilterTypedDict
|
|
19
|
-
r"""Query filter."""
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
class Filter(BaseModel):
|
|
23
|
-
filter_: Annotated[FilterFilter, pydantic.Field(alias="filter")]
|
|
24
|
-
r"""Query filter."""
|
|
File without changes
|
|
File without changes
|