lambdadb 0.3.0__py3-none-any.whl → 0.3.2__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 CHANGED
@@ -3,10 +3,10 @@
3
3
  import importlib.metadata
4
4
 
5
5
  __title__: str = "lambdadb"
6
- __version__: str = "0.3.0"
6
+ __version__: str = "0.3.2"
7
7
  __openapi_doc_version__: str = "1.1.0"
8
- __gen_version__: str = "2.634.2"
9
- __user_agent__: str = "speakeasy-sdk/python 0.3.0 2.634.2 1.1.0 lambdadb"
8
+ __gen_version__: str = "2.644.1"
9
+ __user_agent__: str = "speakeasy-sdk/python 0.3.2 2.644.1 1.1.0 lambdadb"
10
10
 
11
11
  try:
12
12
  if __package__ is not None:
lambdadb/collections.py CHANGED
@@ -29,7 +29,7 @@ class Collections(BaseSDK):
29
29
  server_url: Optional[str] = None,
30
30
  timeout_ms: Optional[int] = None,
31
31
  http_headers: Optional[Mapping[str, str]] = None,
32
- ) -> models.ListcollectionsResponse:
32
+ ) -> models.ListCollectionsResponse:
33
33
  r"""List all collections in an existing project.
34
34
 
35
35
  :param project_name: Project name.
@@ -48,7 +48,7 @@ class Collections(BaseSDK):
48
48
  else:
49
49
  base_url = self._get_url(base_url, url_variables)
50
50
 
51
- request = models.ListcollectionsRequest(
51
+ request = models.ListCollectionsRequest(
52
52
  project_name=project_name,
53
53
  )
54
54
 
@@ -84,7 +84,7 @@ class Collections(BaseSDK):
84
84
  hook_ctx=HookContext(
85
85
  config=self.sdk_configuration,
86
86
  base_url=base_url or "",
87
- operation_id="listcollections",
87
+ operation_id="listCollections",
88
88
  oauth2_scopes=[],
89
89
  security_source=get_security_from_env(
90
90
  self.sdk_configuration.security, models.Security
@@ -97,7 +97,7 @@ class Collections(BaseSDK):
97
97
 
98
98
  response_data: Any = None
99
99
  if utils.match_response(http_res, "200", "application/json"):
100
- return utils.unmarshal_json(http_res.text, models.ListcollectionsResponse)
100
+ return utils.unmarshal_json(http_res.text, models.ListCollectionsResponse)
101
101
  if utils.match_response(http_res, "401", "application/json"):
102
102
  response_data = utils.unmarshal_json(
103
103
  http_res.text, errors.UnauthenticatedErrorData
@@ -146,7 +146,7 @@ class Collections(BaseSDK):
146
146
  server_url: Optional[str] = None,
147
147
  timeout_ms: Optional[int] = None,
148
148
  http_headers: Optional[Mapping[str, str]] = None,
149
- ) -> models.ListcollectionsResponse:
149
+ ) -> models.ListCollectionsResponse:
150
150
  r"""List all collections in an existing project.
151
151
 
152
152
  :param project_name: Project name.
@@ -165,7 +165,7 @@ class Collections(BaseSDK):
165
165
  else:
166
166
  base_url = self._get_url(base_url, url_variables)
167
167
 
168
- request = models.ListcollectionsRequest(
168
+ request = models.ListCollectionsRequest(
169
169
  project_name=project_name,
170
170
  )
171
171
 
@@ -201,7 +201,7 @@ class Collections(BaseSDK):
201
201
  hook_ctx=HookContext(
202
202
  config=self.sdk_configuration,
203
203
  base_url=base_url or "",
204
- operation_id="listcollections",
204
+ operation_id="listCollections",
205
205
  oauth2_scopes=[],
206
206
  security_source=get_security_from_env(
207
207
  self.sdk_configuration.security, models.Security
@@ -214,7 +214,7 @@ class Collections(BaseSDK):
214
214
 
215
215
  response_data: Any = None
216
216
  if utils.match_response(http_res, "200", "application/json"):
217
- return utils.unmarshal_json(http_res.text, models.ListcollectionsResponse)
217
+ return utils.unmarshal_json(http_res.text, models.ListCollectionsResponse)
218
218
  if utils.match_response(http_res, "401", "application/json"):
219
219
  response_data = utils.unmarshal_json(
220
220
  http_res.text, errors.UnauthenticatedErrorData
@@ -275,7 +275,7 @@ class Collections(BaseSDK):
275
275
  timeout_ms: Optional[int] = None,
276
276
  http_headers: Optional[Mapping[str, str]] = None,
277
277
  ) -> models.CollectionResponse:
278
- r"""Create an collection.
278
+ r"""Create a collection.
279
279
 
280
280
  :param project_name: Project name.
281
281
  :param collection_name: Collection name must be unique within a project and the supported maximum length is 52.
@@ -431,7 +431,7 @@ class Collections(BaseSDK):
431
431
  timeout_ms: Optional[int] = None,
432
432
  http_headers: Optional[Mapping[str, str]] = None,
433
433
  ) -> models.CollectionResponse:
434
- r"""Create an collection.
434
+ r"""Create a collection.
435
435
 
436
436
  :param project_name: Project name.
437
437
  :param collection_name: Collection name must be unique within a project and the supported maximum length is 52.
@@ -1061,7 +1061,7 @@ class Collections(BaseSDK):
1061
1061
  timeout_ms: Optional[int] = None,
1062
1062
  http_headers: Optional[Mapping[str, str]] = None,
1063
1063
  ) -> models.CollectionResponse:
1064
- r"""Configure an collection.
1064
+ r"""Configure a collection.
1065
1065
 
1066
1066
  :param project_name: Project name.
1067
1067
  :param collection_name: Collection name.
@@ -1203,7 +1203,7 @@ class Collections(BaseSDK):
1203
1203
  timeout_ms: Optional[int] = None,
1204
1204
  http_headers: Optional[Mapping[str, str]] = None,
1205
1205
  ) -> models.CollectionResponse:
1206
- r"""Configure an collection.
1206
+ r"""Configure a collection.
1207
1207
 
1208
1208
  :param project_name: Project name.
1209
1209
  :param collection_name: Collection name.
@@ -1347,11 +1347,11 @@ class Collections(BaseSDK):
1347
1347
  timeout_ms: Optional[int] = None,
1348
1348
  http_headers: Optional[Mapping[str, str]] = None,
1349
1349
  ) -> models.QueryCollectionResponse:
1350
- r"""Search an collection with a query and return the most similar documents.
1350
+ r"""Search a collection with a query and return the most similar documents.
1351
1351
 
1352
1352
  :param project_name: Project name.
1353
1353
  :param collection_name: Collection name.
1354
- :param size: Number of documents to return. Note that the maximum number of documents is 1000.
1354
+ :param size: Number of documents to return. Note that the maximum number of documents is 100.
1355
1355
  :param query: Query object.
1356
1356
  :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.
1357
1357
  :param include_vectors: If your application need to include vector values in the response, set includeVectors to true.
@@ -1499,11 +1499,11 @@ class Collections(BaseSDK):
1499
1499
  timeout_ms: Optional[int] = None,
1500
1500
  http_headers: Optional[Mapping[str, str]] = None,
1501
1501
  ) -> models.QueryCollectionResponse:
1502
- r"""Search an collection with a query and return the most similar documents.
1502
+ r"""Search a collection with a query and return the most similar documents.
1503
1503
 
1504
1504
  :param project_name: Project name.
1505
1505
  :param collection_name: Collection name.
1506
- :param size: Number of documents to return. Note that the maximum number of documents is 1000.
1506
+ :param size: Number of documents to return. Note that the maximum number of documents is 100.
1507
1507
  :param query: Query object.
1508
1508
  :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.
1509
1509
  :param include_vectors: If your application need to include vector values in the response, set includeVectors to true.
lambdadb/docs.py CHANGED
@@ -20,7 +20,7 @@ class Docs(BaseSDK):
20
20
  timeout_ms: Optional[int] = None,
21
21
  http_headers: Optional[Mapping[str, str]] = None,
22
22
  ) -> models.UpsertDocsResponse:
23
- r"""Upsert documents into an collection. Note that the maximum supported payload size is 6MB.
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.
26
26
  :param collection_name: Collection name.
@@ -153,7 +153,7 @@ class Docs(BaseSDK):
153
153
  timeout_ms: Optional[int] = None,
154
154
  http_headers: Optional[Mapping[str, str]] = None,
155
155
  ) -> models.UpsertDocsResponse:
156
- r"""Upsert documents into an collection. Note that the maximum supported payload size is 6MB.
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.
159
159
  :param collection_name: Collection name.
@@ -526,7 +526,7 @@ class Docs(BaseSDK):
526
526
  timeout_ms: Optional[int] = None,
527
527
  http_headers: Optional[Mapping[str, str]] = None,
528
528
  ) -> models.BulkUpsertDocsResponse:
529
- r"""Bulk upsert documents into an collection. Note that the maximum supported object size is 200MB.
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.
532
532
  :param collection_name: Collection name.
@@ -663,7 +663,7 @@ class Docs(BaseSDK):
663
663
  timeout_ms: Optional[int] = None,
664
664
  http_headers: Optional[Mapping[str, str]] = None,
665
665
  ) -> models.BulkUpsertDocsResponse:
666
- r"""Bulk upsert documents into an collection. Note that the maximum supported object size is 200MB.
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.
669
669
  :param collection_name: Collection name.
@@ -789,6 +789,272 @@ class Docs(BaseSDK):
789
789
  http_res,
790
790
  )
791
791
 
792
+ def update_docs(
793
+ self,
794
+ *,
795
+ project_name: str,
796
+ collection_name: str,
797
+ docs: Union[List[models.UpdateDocsDoc], List[models.UpdateDocsDocTypedDict]],
798
+ retries: OptionalNullable[utils.RetryConfig] = UNSET,
799
+ server_url: Optional[str] = None,
800
+ timeout_ms: Optional[int] = None,
801
+ http_headers: Optional[Mapping[str, str]] = None,
802
+ ) -> models.UpdateDocsResponse:
803
+ r"""Update documents in a collection. Note that the maximum supported payload size is 6MB.
804
+
805
+ :param project_name: Project name.
806
+ :param collection_name: Collection name.
807
+ :param docs: A list of documents to update. Each document must contain 'id' field to be updated.
808
+ :param retries: Override the default retry configuration for this method
809
+ :param server_url: Override the default server URL for this method
810
+ :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
811
+ :param http_headers: Additional headers to set or replace on requests.
812
+ """
813
+ base_url = None
814
+ url_variables = None
815
+ if timeout_ms is None:
816
+ timeout_ms = self.sdk_configuration.timeout_ms
817
+
818
+ if server_url is not None:
819
+ base_url = server_url
820
+ else:
821
+ base_url = self._get_url(base_url, url_variables)
822
+
823
+ request = models.UpdateDocsRequest(
824
+ project_name=project_name,
825
+ collection_name=collection_name,
826
+ request_body=models.UpdateDocsRequestBody(
827
+ docs=utils.get_pydantic_model(docs, List[models.UpdateDocsDoc]),
828
+ ),
829
+ )
830
+
831
+ req = self._build_request(
832
+ method="POST",
833
+ path="/projects/{projectName}/collections/{collectionName}/docs/update",
834
+ base_url=base_url,
835
+ url_variables=url_variables,
836
+ request=request,
837
+ request_body_required=True,
838
+ request_has_path_params=True,
839
+ request_has_query_params=True,
840
+ user_agent_header="user-agent",
841
+ accept_header_value="application/json",
842
+ http_headers=http_headers,
843
+ security=self.sdk_configuration.security,
844
+ get_serialized_body=lambda: utils.serialize_request_body(
845
+ request.request_body, False, False, "json", models.UpdateDocsRequestBody
846
+ ),
847
+ timeout_ms=timeout_ms,
848
+ )
849
+
850
+ if retries == UNSET:
851
+ if self.sdk_configuration.retry_config is not UNSET:
852
+ retries = self.sdk_configuration.retry_config
853
+ else:
854
+ retries = utils.RetryConfig(
855
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
856
+ )
857
+
858
+ retry_config = None
859
+ if isinstance(retries, utils.RetryConfig):
860
+ retry_config = (retries, ["429", "5XX"])
861
+
862
+ http_res = self.do_request(
863
+ hook_ctx=HookContext(
864
+ config=self.sdk_configuration,
865
+ base_url=base_url or "",
866
+ operation_id="updateDocs",
867
+ oauth2_scopes=[],
868
+ security_source=get_security_from_env(
869
+ self.sdk_configuration.security, models.Security
870
+ ),
871
+ ),
872
+ request=req,
873
+ error_status_codes=["400", "401", "404", "429", "4XX", "500", "5XX"],
874
+ retry_config=retry_config,
875
+ )
876
+
877
+ response_data: Any = None
878
+ if utils.match_response(http_res, "202", "application/json"):
879
+ return utils.unmarshal_json(http_res.text, models.UpdateDocsResponse)
880
+ if utils.match_response(http_res, "400", "application/json"):
881
+ response_data = utils.unmarshal_json(
882
+ http_res.text, errors.BadRequestErrorData
883
+ )
884
+ raise errors.BadRequestError(data=response_data)
885
+ if utils.match_response(http_res, "401", "application/json"):
886
+ response_data = utils.unmarshal_json(
887
+ http_res.text, errors.UnauthenticatedErrorData
888
+ )
889
+ raise errors.UnauthenticatedError(data=response_data)
890
+ if utils.match_response(http_res, "404", "application/json"):
891
+ response_data = utils.unmarshal_json(
892
+ http_res.text, errors.ResourceNotFoundErrorData
893
+ )
894
+ raise errors.ResourceNotFoundError(data=response_data)
895
+ if utils.match_response(http_res, "429", "application/json"):
896
+ response_data = utils.unmarshal_json(
897
+ http_res.text, errors.TooManyRequestsErrorData
898
+ )
899
+ raise errors.TooManyRequestsError(data=response_data)
900
+ if utils.match_response(http_res, "500", "application/json"):
901
+ response_data = utils.unmarshal_json(
902
+ http_res.text, errors.InternalServerErrorData
903
+ )
904
+ raise errors.InternalServerError(data=response_data)
905
+ if utils.match_response(http_res, "4XX", "*"):
906
+ http_res_text = utils.stream_to_text(http_res)
907
+ raise errors.APIError(
908
+ "API error occurred", http_res.status_code, http_res_text, http_res
909
+ )
910
+ if utils.match_response(http_res, "5XX", "*"):
911
+ http_res_text = utils.stream_to_text(http_res)
912
+ raise errors.APIError(
913
+ "API error occurred", http_res.status_code, http_res_text, http_res
914
+ )
915
+
916
+ content_type = http_res.headers.get("Content-Type")
917
+ http_res_text = utils.stream_to_text(http_res)
918
+ raise errors.APIError(
919
+ f"Unexpected response received (code: {http_res.status_code}, type: {content_type})",
920
+ http_res.status_code,
921
+ http_res_text,
922
+ http_res,
923
+ )
924
+
925
+ async def update_docs_async(
926
+ self,
927
+ *,
928
+ project_name: str,
929
+ collection_name: str,
930
+ docs: Union[List[models.UpdateDocsDoc], List[models.UpdateDocsDocTypedDict]],
931
+ retries: OptionalNullable[utils.RetryConfig] = UNSET,
932
+ server_url: Optional[str] = None,
933
+ timeout_ms: Optional[int] = None,
934
+ http_headers: Optional[Mapping[str, str]] = None,
935
+ ) -> models.UpdateDocsResponse:
936
+ r"""Update documents in a collection. Note that the maximum supported payload size is 6MB.
937
+
938
+ :param project_name: Project name.
939
+ :param collection_name: Collection name.
940
+ :param docs: A list of documents to update. Each document must contain 'id' field to be updated.
941
+ :param retries: Override the default retry configuration for this method
942
+ :param server_url: Override the default server URL for this method
943
+ :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
944
+ :param http_headers: Additional headers to set or replace on requests.
945
+ """
946
+ base_url = None
947
+ url_variables = None
948
+ if timeout_ms is None:
949
+ timeout_ms = self.sdk_configuration.timeout_ms
950
+
951
+ if server_url is not None:
952
+ base_url = server_url
953
+ else:
954
+ base_url = self._get_url(base_url, url_variables)
955
+
956
+ request = models.UpdateDocsRequest(
957
+ project_name=project_name,
958
+ collection_name=collection_name,
959
+ request_body=models.UpdateDocsRequestBody(
960
+ docs=utils.get_pydantic_model(docs, List[models.UpdateDocsDoc]),
961
+ ),
962
+ )
963
+
964
+ req = self._build_request_async(
965
+ method="POST",
966
+ path="/projects/{projectName}/collections/{collectionName}/docs/update",
967
+ base_url=base_url,
968
+ url_variables=url_variables,
969
+ request=request,
970
+ request_body_required=True,
971
+ request_has_path_params=True,
972
+ request_has_query_params=True,
973
+ user_agent_header="user-agent",
974
+ accept_header_value="application/json",
975
+ http_headers=http_headers,
976
+ security=self.sdk_configuration.security,
977
+ get_serialized_body=lambda: utils.serialize_request_body(
978
+ request.request_body, False, False, "json", models.UpdateDocsRequestBody
979
+ ),
980
+ timeout_ms=timeout_ms,
981
+ )
982
+
983
+ if retries == UNSET:
984
+ if self.sdk_configuration.retry_config is not UNSET:
985
+ retries = self.sdk_configuration.retry_config
986
+ else:
987
+ retries = utils.RetryConfig(
988
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
989
+ )
990
+
991
+ retry_config = None
992
+ if isinstance(retries, utils.RetryConfig):
993
+ retry_config = (retries, ["429", "5XX"])
994
+
995
+ http_res = await self.do_request_async(
996
+ hook_ctx=HookContext(
997
+ config=self.sdk_configuration,
998
+ base_url=base_url or "",
999
+ operation_id="updateDocs",
1000
+ oauth2_scopes=[],
1001
+ security_source=get_security_from_env(
1002
+ self.sdk_configuration.security, models.Security
1003
+ ),
1004
+ ),
1005
+ request=req,
1006
+ error_status_codes=["400", "401", "404", "429", "4XX", "500", "5XX"],
1007
+ retry_config=retry_config,
1008
+ )
1009
+
1010
+ response_data: Any = None
1011
+ if utils.match_response(http_res, "202", "application/json"):
1012
+ return utils.unmarshal_json(http_res.text, models.UpdateDocsResponse)
1013
+ if utils.match_response(http_res, "400", "application/json"):
1014
+ response_data = utils.unmarshal_json(
1015
+ http_res.text, errors.BadRequestErrorData
1016
+ )
1017
+ raise errors.BadRequestError(data=response_data)
1018
+ if utils.match_response(http_res, "401", "application/json"):
1019
+ response_data = utils.unmarshal_json(
1020
+ http_res.text, errors.UnauthenticatedErrorData
1021
+ )
1022
+ raise errors.UnauthenticatedError(data=response_data)
1023
+ if utils.match_response(http_res, "404", "application/json"):
1024
+ response_data = utils.unmarshal_json(
1025
+ http_res.text, errors.ResourceNotFoundErrorData
1026
+ )
1027
+ raise errors.ResourceNotFoundError(data=response_data)
1028
+ if utils.match_response(http_res, "429", "application/json"):
1029
+ response_data = utils.unmarshal_json(
1030
+ http_res.text, errors.TooManyRequestsErrorData
1031
+ )
1032
+ raise errors.TooManyRequestsError(data=response_data)
1033
+ if utils.match_response(http_res, "500", "application/json"):
1034
+ response_data = utils.unmarshal_json(
1035
+ http_res.text, errors.InternalServerErrorData
1036
+ )
1037
+ raise errors.InternalServerError(data=response_data)
1038
+ if utils.match_response(http_res, "4XX", "*"):
1039
+ http_res_text = await utils.stream_to_text_async(http_res)
1040
+ raise errors.APIError(
1041
+ "API error occurred", http_res.status_code, http_res_text, http_res
1042
+ )
1043
+ if utils.match_response(http_res, "5XX", "*"):
1044
+ http_res_text = await utils.stream_to_text_async(http_res)
1045
+ raise errors.APIError(
1046
+ "API error occurred", http_res.status_code, http_res_text, http_res
1047
+ )
1048
+
1049
+ content_type = http_res.headers.get("Content-Type")
1050
+ http_res_text = await utils.stream_to_text_async(http_res)
1051
+ raise errors.APIError(
1052
+ f"Unexpected response received (code: {http_res.status_code}, type: {content_type})",
1053
+ http_res.status_code,
1054
+ http_res_text,
1055
+ http_res,
1056
+ )
1057
+
792
1058
  def delete(
793
1059
  self,
794
1060
  *,
@@ -802,7 +1068,7 @@ class Docs(BaseSDK):
802
1068
  timeout_ms: Optional[int] = None,
803
1069
  http_headers: Optional[Mapping[str, str]] = None,
804
1070
  ) -> models.DeleteDocsResponse:
805
- r"""Delete documents by document IDs or query filter from an collection.
1071
+ r"""Delete documents by document IDs or query filter from a collection.
806
1072
 
807
1073
  :param project_name: Project name.
808
1074
  :param collection_name: Collection name.
@@ -937,7 +1203,7 @@ class Docs(BaseSDK):
937
1203
  timeout_ms: Optional[int] = None,
938
1204
  http_headers: Optional[Mapping[str, str]] = None,
939
1205
  ) -> models.DeleteDocsResponse:
940
- r"""Delete documents by document IDs or query filter from an collection.
1206
+ r"""Delete documents by document IDs or query filter from a collection.
941
1207
 
942
1208
  :param project_name: Project name.
943
1209
  :param collection_name: Collection name.
@@ -1072,11 +1338,11 @@ class Docs(BaseSDK):
1072
1338
  timeout_ms: Optional[int] = None,
1073
1339
  http_headers: Optional[Mapping[str, str]] = None,
1074
1340
  ) -> models.FetchDocsResponse:
1075
- r"""Lookup and return documents by document IDs from an collection.
1341
+ r"""Lookup and return documents by document IDs from a collection.
1076
1342
 
1077
1343
  :param project_name: Project name.
1078
1344
  :param collection_name: Collection name.
1079
- :param ids: A list of document IDs to fetch. Note that the maximum number of document IDs is 1000.
1345
+ :param ids: A list of document IDs to fetch. Note that the maximum number of document IDs is 100.
1080
1346
  :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.
1081
1347
  :param include_vectors: If your application need to include vector values in the response, set includeVectors to true.
1082
1348
  :param retries: Override the default retry configuration for this method
@@ -1211,11 +1477,11 @@ class Docs(BaseSDK):
1211
1477
  timeout_ms: Optional[int] = None,
1212
1478
  http_headers: Optional[Mapping[str, str]] = None,
1213
1479
  ) -> models.FetchDocsResponse:
1214
- r"""Lookup and return documents by document IDs from an collection.
1480
+ r"""Lookup and return documents by document IDs from a collection.
1215
1481
 
1216
1482
  :param project_name: Project name.
1217
1483
  :param collection_name: Collection name.
1218
- :param ids: A list of document IDs to fetch. Note that the maximum number of document IDs is 1000.
1484
+ :param ids: A list of document IDs to fetch. Note that the maximum number of document IDs is 100.
1219
1485
  :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.
1220
1486
  :param include_vectors: If your application need to include vector values in the response, set includeVectors to true.
1221
1487
  :param retries: Override the default retry configuration for this method
@@ -32,12 +32,6 @@ if TYPE_CHECKING:
32
32
  DeleteDocsRequestTypedDict,
33
33
  DeleteDocsResponse,
34
34
  DeleteDocsResponseTypedDict,
35
- Filter,
36
- FilterTypedDict,
37
- RequestBody1,
38
- RequestBody1TypedDict,
39
- RequestBody2,
40
- RequestBody2TypedDict,
41
35
  )
42
36
  from .fetchdocsop import (
43
37
  FetchDocsDoc,
@@ -51,6 +45,7 @@ if TYPE_CHECKING:
51
45
  FetchDocsResponse,
52
46
  FetchDocsResponseTypedDict,
53
47
  )
48
+ from .filter_ import Filter, FilterFilter, FilterFilterTypedDict, FilterTypedDict
54
49
  from .getbulkupsertdocsop import (
55
50
  GetBulkUpsertDocsRequest,
56
51
  GetBulkUpsertDocsRequestTypedDict,
@@ -60,6 +55,7 @@ if TYPE_CHECKING:
60
55
  HTTPMethod,
61
56
  )
62
57
  from .getcollectionop import GetCollectionRequest, GetCollectionRequestTypedDict
58
+ from .ids import IDs, IDsTypedDict
63
59
  from .indexconfigs_union import (
64
60
  Analyzer,
65
61
  IndexConfigs,
@@ -76,10 +72,10 @@ if TYPE_CHECKING:
76
72
  TypeVector,
77
73
  )
78
74
  from .listcollectionsop import (
79
- ListcollectionsRequest,
80
- ListcollectionsRequestTypedDict,
81
- ListcollectionsResponse,
82
- ListcollectionsResponseTypedDict,
75
+ ListCollectionsRequest,
76
+ ListCollectionsRequestTypedDict,
77
+ ListCollectionsResponse,
78
+ ListCollectionsResponseTypedDict,
83
79
  )
84
80
  from .querycollectionop import (
85
81
  Query,
@@ -105,6 +101,16 @@ if TYPE_CHECKING:
105
101
  UpdateCollectionRequestBodyTypedDict,
106
102
  UpdateCollectionRequestTypedDict,
107
103
  )
104
+ from .updatedocsop import (
105
+ UpdateDocsDoc,
106
+ UpdateDocsDocTypedDict,
107
+ UpdateDocsRequest,
108
+ UpdateDocsRequestBody,
109
+ UpdateDocsRequestBodyTypedDict,
110
+ UpdateDocsRequestTypedDict,
111
+ UpdateDocsResponse,
112
+ UpdateDocsResponseTypedDict,
113
+ )
108
114
  from .upsertdocsop import (
109
115
  UpsertDocsDoc,
110
116
  UpsertDocsDocTypedDict,
@@ -151,6 +157,8 @@ __all__ = [
151
157
  "FetchDocsResponse",
152
158
  "FetchDocsResponseTypedDict",
153
159
  "Filter",
160
+ "FilterFilter",
161
+ "FilterFilterTypedDict",
154
162
  "FilterTypedDict",
155
163
  "GetBulkUpsertDocsRequest",
156
164
  "GetBulkUpsertDocsRequestTypedDict",
@@ -160,6 +168,8 @@ __all__ = [
160
168
  "GetCollectionRequest",
161
169
  "GetCollectionRequestTypedDict",
162
170
  "HTTPMethod",
171
+ "IDs",
172
+ "IDsTypedDict",
163
173
  "IndexConfigs",
164
174
  "IndexConfigsText",
165
175
  "IndexConfigsTextTypedDict",
@@ -168,10 +178,10 @@ __all__ = [
168
178
  "IndexConfigsUnionTypedDict",
169
179
  "IndexConfigsVector",
170
180
  "IndexConfigsVectorTypedDict",
171
- "ListcollectionsRequest",
172
- "ListcollectionsRequestTypedDict",
173
- "ListcollectionsResponse",
174
- "ListcollectionsResponseTypedDict",
181
+ "ListCollectionsRequest",
182
+ "ListCollectionsRequestTypedDict",
183
+ "ListCollectionsResponse",
184
+ "ListCollectionsResponseTypedDict",
175
185
  "Query",
176
186
  "QueryCollectionDoc",
177
187
  "QueryCollectionDocDoc",
@@ -184,10 +194,6 @@ __all__ = [
184
194
  "QueryCollectionResponse",
185
195
  "QueryCollectionResponseTypedDict",
186
196
  "QueryTypedDict",
187
- "RequestBody1",
188
- "RequestBody1TypedDict",
189
- "RequestBody2",
190
- "RequestBody2TypedDict",
191
197
  "Security",
192
198
  "SecurityTypedDict",
193
199
  "Similarity",
@@ -201,6 +207,14 @@ __all__ = [
201
207
  "UpdateCollectionRequestBody",
202
208
  "UpdateCollectionRequestBodyTypedDict",
203
209
  "UpdateCollectionRequestTypedDict",
210
+ "UpdateDocsDoc",
211
+ "UpdateDocsDocTypedDict",
212
+ "UpdateDocsRequest",
213
+ "UpdateDocsRequestBody",
214
+ "UpdateDocsRequestBodyTypedDict",
215
+ "UpdateDocsRequestTypedDict",
216
+ "UpdateDocsResponse",
217
+ "UpdateDocsResponseTypedDict",
204
218
  "UpsertDocsDoc",
205
219
  "UpsertDocsDocTypedDict",
206
220
  "UpsertDocsRequest",
@@ -234,12 +248,6 @@ _dynamic_imports: dict[str, str] = {
234
248
  "DeleteDocsRequestTypedDict": ".deletedocsop",
235
249
  "DeleteDocsResponse": ".deletedocsop",
236
250
  "DeleteDocsResponseTypedDict": ".deletedocsop",
237
- "Filter": ".deletedocsop",
238
- "FilterTypedDict": ".deletedocsop",
239
- "RequestBody1": ".deletedocsop",
240
- "RequestBody1TypedDict": ".deletedocsop",
241
- "RequestBody2": ".deletedocsop",
242
- "RequestBody2TypedDict": ".deletedocsop",
243
251
  "FetchDocsDoc": ".fetchdocsop",
244
252
  "FetchDocsDocDoc": ".fetchdocsop",
245
253
  "FetchDocsDocDocTypedDict": ".fetchdocsop",
@@ -250,6 +258,10 @@ _dynamic_imports: dict[str, str] = {
250
258
  "FetchDocsRequestTypedDict": ".fetchdocsop",
251
259
  "FetchDocsResponse": ".fetchdocsop",
252
260
  "FetchDocsResponseTypedDict": ".fetchdocsop",
261
+ "Filter": ".filter_",
262
+ "FilterFilter": ".filter_",
263
+ "FilterFilterTypedDict": ".filter_",
264
+ "FilterTypedDict": ".filter_",
253
265
  "GetBulkUpsertDocsRequest": ".getbulkupsertdocsop",
254
266
  "GetBulkUpsertDocsRequestTypedDict": ".getbulkupsertdocsop",
255
267
  "GetBulkUpsertDocsResponse": ".getbulkupsertdocsop",
@@ -258,6 +270,8 @@ _dynamic_imports: dict[str, str] = {
258
270
  "HTTPMethod": ".getbulkupsertdocsop",
259
271
  "GetCollectionRequest": ".getcollectionop",
260
272
  "GetCollectionRequestTypedDict": ".getcollectionop",
273
+ "IDs": ".ids",
274
+ "IDsTypedDict": ".ids",
261
275
  "Analyzer": ".indexconfigs_union",
262
276
  "IndexConfigs": ".indexconfigs_union",
263
277
  "IndexConfigsText": ".indexconfigs_union",
@@ -271,10 +285,10 @@ _dynamic_imports: dict[str, str] = {
271
285
  "Type": ".indexconfigs_union",
272
286
  "TypeText": ".indexconfigs_union",
273
287
  "TypeVector": ".indexconfigs_union",
274
- "ListcollectionsRequest": ".listcollectionsop",
275
- "ListcollectionsRequestTypedDict": ".listcollectionsop",
276
- "ListcollectionsResponse": ".listcollectionsop",
277
- "ListcollectionsResponseTypedDict": ".listcollectionsop",
288
+ "ListCollectionsRequest": ".listcollectionsop",
289
+ "ListCollectionsRequestTypedDict": ".listcollectionsop",
290
+ "ListCollectionsResponse": ".listcollectionsop",
291
+ "ListCollectionsResponseTypedDict": ".listcollectionsop",
278
292
  "Query": ".querycollectionop",
279
293
  "QueryCollectionDoc": ".querycollectionop",
280
294
  "QueryCollectionDocDoc": ".querycollectionop",
@@ -296,6 +310,14 @@ _dynamic_imports: dict[str, str] = {
296
310
  "UpdateCollectionRequestBody": ".updatecollectionop",
297
311
  "UpdateCollectionRequestBodyTypedDict": ".updatecollectionop",
298
312
  "UpdateCollectionRequestTypedDict": ".updatecollectionop",
313
+ "UpdateDocsDoc": ".updatedocsop",
314
+ "UpdateDocsDocTypedDict": ".updatedocsop",
315
+ "UpdateDocsRequest": ".updatedocsop",
316
+ "UpdateDocsRequestBody": ".updatedocsop",
317
+ "UpdateDocsRequestBodyTypedDict": ".updatedocsop",
318
+ "UpdateDocsRequestTypedDict": ".updatedocsop",
319
+ "UpdateDocsResponse": ".updatedocsop",
320
+ "UpdateDocsResponseTypedDict": ".updatedocsop",
299
321
  "UpsertDocsDoc": ".upsertdocsop",
300
322
  "UpsertDocsDocTypedDict": ".upsertdocsop",
301
323
  "UpsertDocsRequest": ".upsertdocsop",
@@ -1,50 +1,21 @@
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
4
6
  from lambdadb.types import BaseModel
5
7
  from lambdadb.utils import FieldMetadata, PathParamMetadata, RequestMetadata
6
8
  import pydantic
7
- from typing import List, Optional, Union
9
+ from typing import Optional, Union
8
10
  from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict
9
11
 
10
12
 
11
- class FilterTypedDict(TypedDict):
12
- r"""Query filter."""
13
-
14
-
15
- class Filter(BaseModel):
16
- r"""Query filter."""
17
-
18
-
19
- class RequestBody2TypedDict(TypedDict):
20
- filter_: FilterTypedDict
21
- r"""Query filter."""
22
-
23
-
24
- class RequestBody2(BaseModel):
25
- filter_: Annotated[Filter, pydantic.Field(alias="filter")]
26
- r"""Query filter."""
27
-
28
-
29
- class RequestBody1TypedDict(TypedDict):
30
- ids: List[str]
31
- r"""A list of document IDs."""
32
-
33
-
34
- class RequestBody1(BaseModel):
35
- ids: List[str]
36
- r"""A list of document IDs."""
37
-
38
-
39
13
  DeleteDocsRequestBodyTypedDict = TypeAliasType(
40
- "DeleteDocsRequestBodyTypedDict",
41
- Union[RequestBody1TypedDict, RequestBody2TypedDict],
14
+ "DeleteDocsRequestBodyTypedDict", Union[IDsTypedDict, FilterTypedDict]
42
15
  )
43
16
 
44
17
 
45
- DeleteDocsRequestBody = TypeAliasType(
46
- "DeleteDocsRequestBody", Union[RequestBody1, RequestBody2]
47
- )
18
+ DeleteDocsRequestBody = TypeAliasType("DeleteDocsRequestBody", Union[IDs, Filter])
48
19
 
49
20
 
50
21
  class DeleteDocsRequestTypedDict(TypedDict):
@@ -10,7 +10,7 @@ from typing_extensions import Annotated, NotRequired, TypedDict
10
10
 
11
11
  class FetchDocsRequestBodyTypedDict(TypedDict):
12
12
  ids: List[str]
13
- r"""A list of document IDs to fetch. Note that the maximum number of document IDs is 1000."""
13
+ r"""A list of document IDs to fetch. Note that the maximum number of document IDs is 100."""
14
14
  consistent_read: NotRequired[bool]
15
15
  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."""
16
16
  include_vectors: NotRequired[bool]
@@ -19,7 +19,7 @@ class FetchDocsRequestBodyTypedDict(TypedDict):
19
19
 
20
20
  class FetchDocsRequestBody(BaseModel):
21
21
  ids: List[str]
22
- r"""A list of document IDs to fetch. Note that the maximum number of document IDs is 1000."""
22
+ r"""A list of document IDs to fetch. Note that the maximum number of document IDs is 100."""
23
23
 
24
24
  consistent_read: Annotated[
25
25
  Optional[bool], pydantic.Field(alias="consistentRead")
@@ -0,0 +1,24 @@
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."""
lambdadb/models/ids.py ADDED
@@ -0,0 +1,16 @@
1
+ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
+
3
+ from __future__ import annotations
4
+ from lambdadb.types import BaseModel
5
+ from typing import List
6
+ from typing_extensions import TypedDict
7
+
8
+
9
+ class IDsTypedDict(TypedDict):
10
+ ids: List[str]
11
+ r"""A list of document IDs."""
12
+
13
+
14
+ class IDs(BaseModel):
15
+ ids: List[str]
16
+ r"""A list of document IDs."""
@@ -13,6 +13,7 @@ class Type(str, Enum):
13
13
  DOUBLE = "double"
14
14
  DATETIME = "datetime"
15
15
  BOOLEAN = "boolean"
16
+ SPARSE_VECTOR = "sparseVector"
16
17
 
17
18
 
18
19
  class IndexConfigsTypedDict(TypedDict):
@@ -9,12 +9,12 @@ from typing import List, Optional
9
9
  from typing_extensions import Annotated, NotRequired, TypedDict
10
10
 
11
11
 
12
- class ListcollectionsRequestTypedDict(TypedDict):
12
+ class ListCollectionsRequestTypedDict(TypedDict):
13
13
  project_name: str
14
14
  r"""Project name."""
15
15
 
16
16
 
17
- class ListcollectionsRequest(BaseModel):
17
+ class ListCollectionsRequest(BaseModel):
18
18
  project_name: Annotated[
19
19
  str,
20
20
  pydantic.Field(alias="projectName"),
@@ -23,13 +23,13 @@ class ListcollectionsRequest(BaseModel):
23
23
  r"""Project name."""
24
24
 
25
25
 
26
- class ListcollectionsResponseTypedDict(TypedDict):
26
+ class ListCollectionsResponseTypedDict(TypedDict):
27
27
  r"""A list of collections matched with a projectName."""
28
28
 
29
29
  collections: NotRequired[List[CollectionResponseTypedDict]]
30
30
 
31
31
 
32
- class ListcollectionsResponse(BaseModel):
32
+ class ListCollectionsResponse(BaseModel):
33
33
  r"""A list of collections matched with a projectName."""
34
34
 
35
35
  collections: Optional[List[CollectionResponse]] = None
@@ -26,7 +26,7 @@ class Sort(BaseModel):
26
26
 
27
27
  class QueryCollectionRequestBodyTypedDict(TypedDict):
28
28
  size: int
29
- r"""Number of documents to return. Note that the maximum number of documents is 1000."""
29
+ r"""Number of documents to return. Note that the maximum number of documents is 100."""
30
30
  query: NotRequired[QueryTypedDict]
31
31
  r"""Query object."""
32
32
  consistent_read: NotRequired[bool]
@@ -41,7 +41,7 @@ class QueryCollectionRequestBodyTypedDict(TypedDict):
41
41
 
42
42
  class QueryCollectionRequestBody(BaseModel):
43
43
  size: int
44
- r"""Number of documents to return. Note that the maximum number of documents is 1000."""
44
+ r"""Number of documents to return. Note that the maximum number of documents is 100."""
45
45
 
46
46
  query: Optional[Query] = None
47
47
  r"""Query object."""
@@ -0,0 +1,67 @@
1
+ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
+
3
+ from __future__ import annotations
4
+ from lambdadb.types import BaseModel
5
+ from lambdadb.utils import FieldMetadata, PathParamMetadata, RequestMetadata
6
+ import pydantic
7
+ from typing import List, Optional
8
+ from typing_extensions import Annotated, NotRequired, TypedDict
9
+
10
+
11
+ class UpdateDocsDocTypedDict(TypedDict):
12
+ pass
13
+
14
+
15
+ class UpdateDocsDoc(BaseModel):
16
+ pass
17
+
18
+
19
+ class UpdateDocsRequestBodyTypedDict(TypedDict):
20
+ docs: List[UpdateDocsDocTypedDict]
21
+ r"""A list of documents to update. Each document must contain 'id' field to be updated."""
22
+
23
+
24
+ class UpdateDocsRequestBody(BaseModel):
25
+ docs: List[UpdateDocsDoc]
26
+ r"""A list of documents to update. Each document must contain 'id' field to be updated."""
27
+
28
+
29
+ class UpdateDocsRequestTypedDict(TypedDict):
30
+ project_name: str
31
+ r"""Project name."""
32
+ collection_name: str
33
+ r"""Collection name."""
34
+ request_body: UpdateDocsRequestBodyTypedDict
35
+
36
+
37
+ class UpdateDocsRequest(BaseModel):
38
+ project_name: Annotated[
39
+ str,
40
+ pydantic.Field(alias="projectName"),
41
+ FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
42
+ ]
43
+ r"""Project name."""
44
+
45
+ collection_name: Annotated[
46
+ str,
47
+ pydantic.Field(alias="collectionName"),
48
+ FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
49
+ ]
50
+ r"""Collection name."""
51
+
52
+ request_body: Annotated[
53
+ UpdateDocsRequestBody,
54
+ FieldMetadata(request=RequestMetadata(media_type="application/json")),
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
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: lambdadb
3
- Version: 0.3.0
3
+ Version: 0.3.2
4
4
  Summary: Python Client SDK Generated by Speakeasy.
5
5
  Author: Speakeasy
6
6
  Requires-Python: >=3.9.2
@@ -201,19 +201,20 @@ with LambdaDB(
201
201
  ### [collections](https://github.com/lambdadb/lambdadb-python-client/blob/master/docs/sdks/collections/README.md)
202
202
 
203
203
  * [list](https://github.com/lambdadb/lambdadb-python-client/blob/master/docs/sdks/collections/README.md#list) - List all collections in an existing project.
204
- * [create](https://github.com/lambdadb/lambdadb-python-client/blob/master/docs/sdks/collections/README.md#create) - Create an collection.
204
+ * [create](https://github.com/lambdadb/lambdadb-python-client/blob/master/docs/sdks/collections/README.md#create) - Create a collection.
205
205
  * [delete](https://github.com/lambdadb/lambdadb-python-client/blob/master/docs/sdks/collections/README.md#delete) - Delete an existing collection.
206
206
  * [get](https://github.com/lambdadb/lambdadb-python-client/blob/master/docs/sdks/collections/README.md#get) - Get metadata of an existing collection.
207
- * [update](https://github.com/lambdadb/lambdadb-python-client/blob/master/docs/sdks/collections/README.md#update) - Configure an collection.
208
- * [query](https://github.com/lambdadb/lambdadb-python-client/blob/master/docs/sdks/collections/README.md#query) - Search an collection with a query and return the most similar documents.
207
+ * [update](https://github.com/lambdadb/lambdadb-python-client/blob/master/docs/sdks/collections/README.md#update) - Configure a collection.
208
+ * [query](https://github.com/lambdadb/lambdadb-python-client/blob/master/docs/sdks/collections/README.md#query) - Search a collection with a query and return the most similar documents.
209
209
 
210
210
  #### [collections.docs](https://github.com/lambdadb/lambdadb-python-client/blob/master/docs/sdks/docs/README.md)
211
211
 
212
- * [upsert](https://github.com/lambdadb/lambdadb-python-client/blob/master/docs/sdks/docs/README.md#upsert) - Upsert documents into an collection. Note that the maximum supported payload size is 6MB.
212
+ * [upsert](https://github.com/lambdadb/lambdadb-python-client/blob/master/docs/sdks/docs/README.md#upsert) - Upsert documents into a collection. Note that the maximum supported payload size is 6MB.
213
213
  * [get_bulk_upsert](https://github.com/lambdadb/lambdadb-python-client/blob/master/docs/sdks/docs/README.md#get_bulk_upsert) - Request required info to upload documents.
214
- * [bulk_upsert](https://github.com/lambdadb/lambdadb-python-client/blob/master/docs/sdks/docs/README.md#bulk_upsert) - Bulk upsert documents into an collection. Note that the maximum supported object size is 200MB.
215
- * [delete](https://github.com/lambdadb/lambdadb-python-client/blob/master/docs/sdks/docs/README.md#delete) - Delete documents by document IDs or query filter from an collection.
216
- * [fetch](https://github.com/lambdadb/lambdadb-python-client/blob/master/docs/sdks/docs/README.md#fetch) - Lookup and return documents by document IDs from an collection.
214
+ * [bulk_upsert](https://github.com/lambdadb/lambdadb-python-client/blob/master/docs/sdks/docs/README.md#bulk_upsert) - Bulk upsert documents into a collection. Note that the maximum supported object size is 200MB.
215
+ * [update_docs](https://github.com/lambdadb/lambdadb-python-client/blob/master/docs/sdks/docs/README.md#update_docs) - Update documents in a collection. Note that the maximum supported payload size is 6MB.
216
+ * [delete](https://github.com/lambdadb/lambdadb-python-client/blob/master/docs/sdks/docs/README.md#delete) - Delete documents by document IDs or query filter from a collection.
217
+ * [fetch](https://github.com/lambdadb/lambdadb-python-client/blob/master/docs/sdks/docs/README.md#fetch) - Lookup and return documents by document IDs from a collection.
217
218
 
218
219
 
219
220
  </details>
@@ -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=Qod4WO9QVi_ERCk7yMG1nBjFLUCMF78qAucG9SoK6to,458
6
+ lambdadb/_version.py,sha256=Ui4ZStMOMcfg4qzGXL8AADKAPVXCm4UXZm1W2JUYSME,458
7
7
  lambdadb/basesdk.py,sha256=Uo8ZEdXVHmS_j1F9on47XeJD6sj9plIrna_6Oo_1I-I,11853
8
- lambdadb/collections.py,sha256=ridtbk8Ft0O1lIcpX7-_-5zDV8B0bOcttoxlv5eMeZ0,69015
9
- lambdadb/docs.py,sha256=jtrogN__GPuavf2bySAjklPLvtm0JMDezkY2qSlc83k,57368
8
+ lambdadb/collections.py,sha256=es_zRA6ZBzirQ2arrDK4nuZ2ZCGvxoFNV004paNpQTc,69007
9
+ lambdadb/docs.py,sha256=gRPX61SsTcaKhEVgPLcxfcisqfWpCAKzrBbnC7PJM1I,68974
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,21 +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=VF8BdZdl5V9jQanOX2-UJ5SjGKdk2MGbKrs1J4sffxg,11752
19
+ lambdadb/models/__init__.py,sha256=7Ks8fygsF86cAE-d7Uw23TxpsrNCb9Uza7V3XfGdMxw,12560
20
20
  lambdadb/models/bulkupsertdocsop.py,sha256=r7WrCY_8uKgQr07eIBOk1U6clKPOKy6OMfsnl43Q5kA,1674
21
21
  lambdadb/models/collectionresponse.py,sha256=zK3nHrb_zRKc9B6NuAtd_V1gESwD-fULqZ4SmkmVQHg,2121
22
22
  lambdadb/models/createcollectionop.py,sha256=Hk-6zcL9ZWrFDPh23J805x8YwL2_3It02R2oRI9eQ6w,2198
23
23
  lambdadb/models/deletecollectionop.py,sha256=MCNYTYXCwsIP4NQXB3CA2oZwF0HFALaIpSUBePP05KM,1171
24
- lambdadb/models/deletedocsop.py,sha256=ybWYrAqQiOe8piMUM6msCOlLm4-2f4u7aLrHl050UZo,2131
25
- lambdadb/models/fetchdocsop.py,sha256=tak7MMPl4OozANBW2ORRW7OjjNztHoHwfgYtSz7-2KE,3285
24
+ lambdadb/models/deletedocsop.py,sha256=fOYfDG9k2cgX39CwEBh9CvET6eKzLlmJDbeV8NuzljQ,1651
25
+ lambdadb/models/fetchdocsop.py,sha256=_ibdRiBm83QDh5TzcLyXLcJ8eykxokxRf28l8zvNoOI,3283
26
+ lambdadb/models/filter_.py,sha256=w_Sfldxxb9f1Xw4pWEmQ_L_naSFLifpdlejL1CeSnWk,554
26
27
  lambdadb/models/getbulkupsertdocsop.py,sha256=oUkcvIkrM_wIxrCoB_X-jBL9QqA_qpo7olh24vBSdWQ,2586
27
28
  lambdadb/models/getcollectionop.py,sha256=9X_4fW9sYfXVe_gPqCbnKBEr0z7ss_wNrhRdSXhNSRU,865
28
- lambdadb/models/indexconfigs_union.py,sha256=fAq_wlTU1p_mdbq_ZuCFIb_DldfvL__Tphc36ocUl0w,2020
29
- lambdadb/models/listcollectionsop.py,sha256=Q7OM34dUCRQhft3vg4FLlnRIXWhUAhxG4rX_nIrL9_8,1081
30
- lambdadb/models/querycollectionop.py,sha256=lFvTMo8twoEE7DflLuBItGpYllTNxSjfeSm6tfCP0rc,4487
29
+ lambdadb/models/ids.py,sha256=au0wwB6mlctvODTLJnpzISvc2I_MBVj3PZ0XbnLeV38,374
30
+ lambdadb/models/indexconfigs_union.py,sha256=LW0afqNPHxSd7PVyhi9bWALLkofPpewIzWCH5hlghkI,2055
31
+ lambdadb/models/listcollectionsop.py,sha256=6dtHxlLG8Bu9DbPdzlVRVvHCGmuIp0E4NTYYINq6fOg,1081
32
+ lambdadb/models/querycollectionop.py,sha256=iae2F6vxrLAkE3tO0e5bitp1a9l-q_dBGiRewmBGmWc,4485
31
33
  lambdadb/models/security.py,sha256=nP-VTWFY6O-UPNPsWcsg38JcXr2zSy_m7qieDix6SxA,698
32
34
  lambdadb/models/status.py,sha256=pl66KcDT9ao6yLXXXOBqerh_StjpNiJb34Yf7VoijEI,250
33
35
  lambdadb/models/updatecollectionop.py,sha256=AH-xDQYtywu6rn5clKKXIuamXk3iYdwSfN5kCi5Ygtk,1470
36
+ lambdadb/models/updatedocsop.py,sha256=QWC83Oub2NX1pT8GsWUAy-eLwDGMX5C9E8mMtMa3KPk,1790
34
37
  lambdadb/models/upsertdocsop.py,sha256=6oMppMfQtgyVoUrNZ6S_qWFMZmkmPBqQumGWzN78nNk,1684
35
38
  lambdadb/py.typed,sha256=zrp19r0G21lr2yRiMC0f8MFkQFGj9wMpSbboePMg8KM,59
36
39
  lambdadb/sdk.py,sha256=r_MR7eLbat4LunLaRLw3GdkxXubZ6hEn0kegigYJ3vk,6097
@@ -53,7 +56,7 @@ lambdadb/utils/security.py,sha256=Dq3M6Ee_x_uWRPZ7vvM4XQNxjCMSlphrRn6qVs1pljU,60
53
56
  lambdadb/utils/serializers.py,sha256=hiHBXM1AY8_N2Z_rvFfNSYwvLBkSQlPGFp8poasdU4s,5986
54
57
  lambdadb/utils/url.py,sha256=BgGPgcTA6MRK4bF8fjP2dUopN3NzEzxWMXPBVg8NQUA,5254
55
58
  lambdadb/utils/values.py,sha256=CcaCXEa3xHhkUDROyXZocN8f0bdITftv9Y0P9lTf0YM,3517
56
- lambdadb-0.3.0.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
57
- lambdadb-0.3.0.dist-info/METADATA,sha256=V_VjxhVv8txjdqGbk0QqeP2xBHFBd-aq_r_sjM031Mo,18490
58
- lambdadb-0.3.0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
59
- lambdadb-0.3.0.dist-info/RECORD,,
59
+ lambdadb-0.3.2.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
60
+ lambdadb-0.3.2.dist-info/METADATA,sha256=TtDz-b6i928K_LKhxGLl9fsnpYATNc43TbbGyyu00ZY,18689
61
+ lambdadb-0.3.2.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
62
+ lambdadb-0.3.2.dist-info/RECORD,,