lambdadb 0.3.1__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.1"
6
+ __version__: str = "0.3.2"
7
7
  __openapi_doc_version__: str = "1.1.0"
8
- __gen_version__: str = "2.640.2"
9
- __user_agent__: str = "speakeasy-sdk/python 0.3.1 2.640.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:
@@ -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,
@@ -161,6 +157,8 @@ __all__ = [
161
157
  "FetchDocsResponse",
162
158
  "FetchDocsResponseTypedDict",
163
159
  "Filter",
160
+ "FilterFilter",
161
+ "FilterFilterTypedDict",
164
162
  "FilterTypedDict",
165
163
  "GetBulkUpsertDocsRequest",
166
164
  "GetBulkUpsertDocsRequestTypedDict",
@@ -170,6 +168,8 @@ __all__ = [
170
168
  "GetCollectionRequest",
171
169
  "GetCollectionRequestTypedDict",
172
170
  "HTTPMethod",
171
+ "IDs",
172
+ "IDsTypedDict",
173
173
  "IndexConfigs",
174
174
  "IndexConfigsText",
175
175
  "IndexConfigsTextTypedDict",
@@ -194,10 +194,6 @@ __all__ = [
194
194
  "QueryCollectionResponse",
195
195
  "QueryCollectionResponseTypedDict",
196
196
  "QueryTypedDict",
197
- "RequestBody1",
198
- "RequestBody1TypedDict",
199
- "RequestBody2",
200
- "RequestBody2TypedDict",
201
197
  "Security",
202
198
  "SecurityTypedDict",
203
199
  "Similarity",
@@ -252,12 +248,6 @@ _dynamic_imports: dict[str, str] = {
252
248
  "DeleteDocsRequestTypedDict": ".deletedocsop",
253
249
  "DeleteDocsResponse": ".deletedocsop",
254
250
  "DeleteDocsResponseTypedDict": ".deletedocsop",
255
- "Filter": ".deletedocsop",
256
- "FilterTypedDict": ".deletedocsop",
257
- "RequestBody1": ".deletedocsop",
258
- "RequestBody1TypedDict": ".deletedocsop",
259
- "RequestBody2": ".deletedocsop",
260
- "RequestBody2TypedDict": ".deletedocsop",
261
251
  "FetchDocsDoc": ".fetchdocsop",
262
252
  "FetchDocsDocDoc": ".fetchdocsop",
263
253
  "FetchDocsDocDocTypedDict": ".fetchdocsop",
@@ -268,6 +258,10 @@ _dynamic_imports: dict[str, str] = {
268
258
  "FetchDocsRequestTypedDict": ".fetchdocsop",
269
259
  "FetchDocsResponse": ".fetchdocsop",
270
260
  "FetchDocsResponseTypedDict": ".fetchdocsop",
261
+ "Filter": ".filter_",
262
+ "FilterFilter": ".filter_",
263
+ "FilterFilterTypedDict": ".filter_",
264
+ "FilterTypedDict": ".filter_",
271
265
  "GetBulkUpsertDocsRequest": ".getbulkupsertdocsop",
272
266
  "GetBulkUpsertDocsRequestTypedDict": ".getbulkupsertdocsop",
273
267
  "GetBulkUpsertDocsResponse": ".getbulkupsertdocsop",
@@ -276,6 +270,8 @@ _dynamic_imports: dict[str, str] = {
276
270
  "HTTPMethod": ".getbulkupsertdocsop",
277
271
  "GetCollectionRequest": ".getcollectionop",
278
272
  "GetCollectionRequestTypedDict": ".getcollectionop",
273
+ "IDs": ".ids",
274
+ "IDsTypedDict": ".ids",
279
275
  "Analyzer": ".indexconfigs_union",
280
276
  "IndexConfigs": ".indexconfigs_union",
281
277
  "IndexConfigsText": ".indexconfigs_union",
@@ -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):
@@ -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."""
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: lambdadb
3
- Version: 0.3.1
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
@@ -3,7 +3,7 @@ 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=JUd8nPq6SQqg54fNd1dx8sPYL-J93DyiAHzWA8ALBGo,458
6
+ lambdadb/_version.py,sha256=Ui4ZStMOMcfg4qzGXL8AADKAPVXCm4UXZm1W2JUYSME,458
7
7
  lambdadb/basesdk.py,sha256=Uo8ZEdXVHmS_j1F9on47XeJD6sj9plIrna_6Oo_1I-I,11853
8
8
  lambdadb/collections.py,sha256=es_zRA6ZBzirQ2arrDK4nuZ2ZCGvxoFNV004paNpQTc,69007
9
9
  lambdadb/docs.py,sha256=gRPX61SsTcaKhEVgPLcxfcisqfWpCAKzrBbnC7PJM1I,68974
@@ -16,15 +16,17 @@ 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=9aJhCuK2vAEEpUJ1iH3srbUKyS76YDc1bBuhjzmPo8U,12656
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
24
+ lambdadb/models/deletedocsop.py,sha256=fOYfDG9k2cgX39CwEBh9CvET6eKzLlmJDbeV8NuzljQ,1651
25
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
29
+ lambdadb/models/ids.py,sha256=au0wwB6mlctvODTLJnpzISvc2I_MBVj3PZ0XbnLeV38,374
28
30
  lambdadb/models/indexconfigs_union.py,sha256=LW0afqNPHxSd7PVyhi9bWALLkofPpewIzWCH5hlghkI,2055
29
31
  lambdadb/models/listcollectionsop.py,sha256=6dtHxlLG8Bu9DbPdzlVRVvHCGmuIp0E4NTYYINq6fOg,1081
30
32
  lambdadb/models/querycollectionop.py,sha256=iae2F6vxrLAkE3tO0e5bitp1a9l-q_dBGiRewmBGmWc,4485
@@ -54,7 +56,7 @@ lambdadb/utils/security.py,sha256=Dq3M6Ee_x_uWRPZ7vvM4XQNxjCMSlphrRn6qVs1pljU,60
54
56
  lambdadb/utils/serializers.py,sha256=hiHBXM1AY8_N2Z_rvFfNSYwvLBkSQlPGFp8poasdU4s,5986
55
57
  lambdadb/utils/url.py,sha256=BgGPgcTA6MRK4bF8fjP2dUopN3NzEzxWMXPBVg8NQUA,5254
56
58
  lambdadb/utils/values.py,sha256=CcaCXEa3xHhkUDROyXZocN8f0bdITftv9Y0P9lTf0YM,3517
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,,
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,,