lambdadb 0.3.0__py3-none-any.whl → 0.3.1__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 +276 -10
- lambdadb/models/__init__.py +38 -12
- lambdadb/models/fetchdocsop.py +2 -2
- lambdadb/models/indexconfigs_union.py +1 -0
- lambdadb/models/listcollectionsop.py +4 -4
- lambdadb/models/querycollectionop.py +2 -2
- lambdadb/models/updatedocsop.py +67 -0
- {lambdadb-0.3.0.dist-info → lambdadb-0.3.1.dist-info}/METADATA +9 -8
- {lambdadb-0.3.0.dist-info → lambdadb-0.3.1.dist-info}/RECORD +13 -12
- {lambdadb-0.3.0.dist-info → lambdadb-0.3.1.dist-info}/LICENSE +0 -0
- {lambdadb-0.3.0.dist-info → lambdadb-0.3.1.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.
|
|
6
|
+
__version__: str = "0.3.1"
|
|
7
7
|
__openapi_doc_version__: str = "1.1.0"
|
|
8
|
-
__gen_version__: str = "2.
|
|
9
|
-
__user_agent__: str = "speakeasy-sdk/python 0.3.
|
|
8
|
+
__gen_version__: str = "2.640.2"
|
|
9
|
+
__user_agent__: str = "speakeasy-sdk/python 0.3.1 2.640.2 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.
|
|
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.
|
|
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="
|
|
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.
|
|
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.
|
|
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.
|
|
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="
|
|
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.
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
lambdadb/models/__init__.py
CHANGED
|
@@ -76,10 +76,10 @@ if TYPE_CHECKING:
|
|
|
76
76
|
TypeVector,
|
|
77
77
|
)
|
|
78
78
|
from .listcollectionsop import (
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
79
|
+
ListCollectionsRequest,
|
|
80
|
+
ListCollectionsRequestTypedDict,
|
|
81
|
+
ListCollectionsResponse,
|
|
82
|
+
ListCollectionsResponseTypedDict,
|
|
83
83
|
)
|
|
84
84
|
from .querycollectionop import (
|
|
85
85
|
Query,
|
|
@@ -105,6 +105,16 @@ if TYPE_CHECKING:
|
|
|
105
105
|
UpdateCollectionRequestBodyTypedDict,
|
|
106
106
|
UpdateCollectionRequestTypedDict,
|
|
107
107
|
)
|
|
108
|
+
from .updatedocsop import (
|
|
109
|
+
UpdateDocsDoc,
|
|
110
|
+
UpdateDocsDocTypedDict,
|
|
111
|
+
UpdateDocsRequest,
|
|
112
|
+
UpdateDocsRequestBody,
|
|
113
|
+
UpdateDocsRequestBodyTypedDict,
|
|
114
|
+
UpdateDocsRequestTypedDict,
|
|
115
|
+
UpdateDocsResponse,
|
|
116
|
+
UpdateDocsResponseTypedDict,
|
|
117
|
+
)
|
|
108
118
|
from .upsertdocsop import (
|
|
109
119
|
UpsertDocsDoc,
|
|
110
120
|
UpsertDocsDocTypedDict,
|
|
@@ -168,10 +178,10 @@ __all__ = [
|
|
|
168
178
|
"IndexConfigsUnionTypedDict",
|
|
169
179
|
"IndexConfigsVector",
|
|
170
180
|
"IndexConfigsVectorTypedDict",
|
|
171
|
-
"
|
|
172
|
-
"
|
|
173
|
-
"
|
|
174
|
-
"
|
|
181
|
+
"ListCollectionsRequest",
|
|
182
|
+
"ListCollectionsRequestTypedDict",
|
|
183
|
+
"ListCollectionsResponse",
|
|
184
|
+
"ListCollectionsResponseTypedDict",
|
|
175
185
|
"Query",
|
|
176
186
|
"QueryCollectionDoc",
|
|
177
187
|
"QueryCollectionDocDoc",
|
|
@@ -201,6 +211,14 @@ __all__ = [
|
|
|
201
211
|
"UpdateCollectionRequestBody",
|
|
202
212
|
"UpdateCollectionRequestBodyTypedDict",
|
|
203
213
|
"UpdateCollectionRequestTypedDict",
|
|
214
|
+
"UpdateDocsDoc",
|
|
215
|
+
"UpdateDocsDocTypedDict",
|
|
216
|
+
"UpdateDocsRequest",
|
|
217
|
+
"UpdateDocsRequestBody",
|
|
218
|
+
"UpdateDocsRequestBodyTypedDict",
|
|
219
|
+
"UpdateDocsRequestTypedDict",
|
|
220
|
+
"UpdateDocsResponse",
|
|
221
|
+
"UpdateDocsResponseTypedDict",
|
|
204
222
|
"UpsertDocsDoc",
|
|
205
223
|
"UpsertDocsDocTypedDict",
|
|
206
224
|
"UpsertDocsRequest",
|
|
@@ -271,10 +289,10 @@ _dynamic_imports: dict[str, str] = {
|
|
|
271
289
|
"Type": ".indexconfigs_union",
|
|
272
290
|
"TypeText": ".indexconfigs_union",
|
|
273
291
|
"TypeVector": ".indexconfigs_union",
|
|
274
|
-
"
|
|
275
|
-
"
|
|
276
|
-
"
|
|
277
|
-
"
|
|
292
|
+
"ListCollectionsRequest": ".listcollectionsop",
|
|
293
|
+
"ListCollectionsRequestTypedDict": ".listcollectionsop",
|
|
294
|
+
"ListCollectionsResponse": ".listcollectionsop",
|
|
295
|
+
"ListCollectionsResponseTypedDict": ".listcollectionsop",
|
|
278
296
|
"Query": ".querycollectionop",
|
|
279
297
|
"QueryCollectionDoc": ".querycollectionop",
|
|
280
298
|
"QueryCollectionDocDoc": ".querycollectionop",
|
|
@@ -296,6 +314,14 @@ _dynamic_imports: dict[str, str] = {
|
|
|
296
314
|
"UpdateCollectionRequestBody": ".updatecollectionop",
|
|
297
315
|
"UpdateCollectionRequestBodyTypedDict": ".updatecollectionop",
|
|
298
316
|
"UpdateCollectionRequestTypedDict": ".updatecollectionop",
|
|
317
|
+
"UpdateDocsDoc": ".updatedocsop",
|
|
318
|
+
"UpdateDocsDocTypedDict": ".updatedocsop",
|
|
319
|
+
"UpdateDocsRequest": ".updatedocsop",
|
|
320
|
+
"UpdateDocsRequestBody": ".updatedocsop",
|
|
321
|
+
"UpdateDocsRequestBodyTypedDict": ".updatedocsop",
|
|
322
|
+
"UpdateDocsRequestTypedDict": ".updatedocsop",
|
|
323
|
+
"UpdateDocsResponse": ".updatedocsop",
|
|
324
|
+
"UpdateDocsResponseTypedDict": ".updatedocsop",
|
|
299
325
|
"UpsertDocsDoc": ".upsertdocsop",
|
|
300
326
|
"UpsertDocsDocTypedDict": ".upsertdocsop",
|
|
301
327
|
"UpsertDocsRequest": ".upsertdocsop",
|
lambdadb/models/fetchdocsop.py
CHANGED
|
@@ -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
|
|
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
|
|
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")
|
|
@@ -9,12 +9,12 @@ from typing import List, Optional
|
|
|
9
9
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
class
|
|
12
|
+
class ListCollectionsRequestTypedDict(TypedDict):
|
|
13
13
|
project_name: str
|
|
14
14
|
r"""Project name."""
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
class
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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.
|
|
3
|
+
Version: 0.3.1
|
|
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
|
|
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
|
|
208
|
-
* [query](https://github.com/lambdadb/lambdadb-python-client/blob/master/docs/sdks/collections/README.md#query) - Search
|
|
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
|
|
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
|
|
215
|
-
* [
|
|
216
|
-
* [
|
|
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=
|
|
6
|
+
lambdadb/_version.py,sha256=JUd8nPq6SQqg54fNd1dx8sPYL-J93DyiAHzWA8ALBGo,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=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,22 @@ 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=
|
|
19
|
+
lambdadb/models/__init__.py,sha256=9aJhCuK2vAEEpUJ1iH3srbUKyS76YDc1bBuhjzmPo8U,12656
|
|
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
24
|
lambdadb/models/deletedocsop.py,sha256=ybWYrAqQiOe8piMUM6msCOlLm4-2f4u7aLrHl050UZo,2131
|
|
25
|
-
lambdadb/models/fetchdocsop.py,sha256=
|
|
25
|
+
lambdadb/models/fetchdocsop.py,sha256=_ibdRiBm83QDh5TzcLyXLcJ8eykxokxRf28l8zvNoOI,3283
|
|
26
26
|
lambdadb/models/getbulkupsertdocsop.py,sha256=oUkcvIkrM_wIxrCoB_X-jBL9QqA_qpo7olh24vBSdWQ,2586
|
|
27
27
|
lambdadb/models/getcollectionop.py,sha256=9X_4fW9sYfXVe_gPqCbnKBEr0z7ss_wNrhRdSXhNSRU,865
|
|
28
|
-
lambdadb/models/indexconfigs_union.py,sha256=
|
|
29
|
-
lambdadb/models/listcollectionsop.py,sha256=
|
|
30
|
-
lambdadb/models/querycollectionop.py,sha256=
|
|
28
|
+
lambdadb/models/indexconfigs_union.py,sha256=LW0afqNPHxSd7PVyhi9bWALLkofPpewIzWCH5hlghkI,2055
|
|
29
|
+
lambdadb/models/listcollectionsop.py,sha256=6dtHxlLG8Bu9DbPdzlVRVvHCGmuIp0E4NTYYINq6fOg,1081
|
|
30
|
+
lambdadb/models/querycollectionop.py,sha256=iae2F6vxrLAkE3tO0e5bitp1a9l-q_dBGiRewmBGmWc,4485
|
|
31
31
|
lambdadb/models/security.py,sha256=nP-VTWFY6O-UPNPsWcsg38JcXr2zSy_m7qieDix6SxA,698
|
|
32
32
|
lambdadb/models/status.py,sha256=pl66KcDT9ao6yLXXXOBqerh_StjpNiJb34Yf7VoijEI,250
|
|
33
33
|
lambdadb/models/updatecollectionop.py,sha256=AH-xDQYtywu6rn5clKKXIuamXk3iYdwSfN5kCi5Ygtk,1470
|
|
34
|
+
lambdadb/models/updatedocsop.py,sha256=QWC83Oub2NX1pT8GsWUAy-eLwDGMX5C9E8mMtMa3KPk,1790
|
|
34
35
|
lambdadb/models/upsertdocsop.py,sha256=6oMppMfQtgyVoUrNZ6S_qWFMZmkmPBqQumGWzN78nNk,1684
|
|
35
36
|
lambdadb/py.typed,sha256=zrp19r0G21lr2yRiMC0f8MFkQFGj9wMpSbboePMg8KM,59
|
|
36
37
|
lambdadb/sdk.py,sha256=r_MR7eLbat4LunLaRLw3GdkxXubZ6hEn0kegigYJ3vk,6097
|
|
@@ -53,7 +54,7 @@ lambdadb/utils/security.py,sha256=Dq3M6Ee_x_uWRPZ7vvM4XQNxjCMSlphrRn6qVs1pljU,60
|
|
|
53
54
|
lambdadb/utils/serializers.py,sha256=hiHBXM1AY8_N2Z_rvFfNSYwvLBkSQlPGFp8poasdU4s,5986
|
|
54
55
|
lambdadb/utils/url.py,sha256=BgGPgcTA6MRK4bF8fjP2dUopN3NzEzxWMXPBVg8NQUA,5254
|
|
55
56
|
lambdadb/utils/values.py,sha256=CcaCXEa3xHhkUDROyXZocN8f0bdITftv9Y0P9lTf0YM,3517
|
|
56
|
-
lambdadb-0.3.
|
|
57
|
-
lambdadb-0.3.
|
|
58
|
-
lambdadb-0.3.
|
|
59
|
-
lambdadb-0.3.
|
|
57
|
+
lambdadb-0.3.1.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
58
|
+
lambdadb-0.3.1.dist-info/METADATA,sha256=46kWsYRcyW8dz34BdUgUGSmuHYVVzoWmmDLZpXQX_hs,18689
|
|
59
|
+
lambdadb-0.3.1.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
60
|
+
lambdadb-0.3.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|