lambdadb 0.5.8__py3-none-any.whl → 0.5.9__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.
lambdadb/_version.py CHANGED
@@ -3,10 +3,10 @@
3
3
  import importlib.metadata
4
4
 
5
5
  __title__: str = "lambdadb"
6
- __version__: str = "0.5.8"
6
+ __version__: str = "0.5.9"
7
7
  __openapi_doc_version__: str = "1.1.1"
8
8
  __gen_version__: str = "2.672.0"
9
- __user_agent__: str = "speakeasy-sdk/python 0.5.8 2.672.0 1.1.1 lambdadb"
9
+ __user_agent__: str = "speakeasy-sdk/python 0.5.9 2.672.0 1.1.1 lambdadb"
10
10
 
11
11
  try:
12
12
  if __package__ is not None:
@@ -55,6 +55,8 @@ if TYPE_CHECKING:
55
55
  from .indexconfigs_union import (
56
56
  Analyzer,
57
57
  IndexConfigs,
58
+ IndexConfigsObject,
59
+ IndexConfigsObjectTypedDict,
58
60
  IndexConfigsText,
59
61
  IndexConfigsTextTypedDict,
60
62
  IndexConfigsTypedDict,
@@ -64,6 +66,7 @@ if TYPE_CHECKING:
64
66
  IndexConfigsVectorTypedDict,
65
67
  Similarity,
66
68
  Type,
69
+ TypeObject,
67
70
  TypeText,
68
71
  TypeVector,
69
72
  )
@@ -142,6 +145,8 @@ __all__ = [
142
145
  "GetCollectionResponseTypedDict",
143
146
  "HTTPMethod",
144
147
  "IndexConfigs",
148
+ "IndexConfigsObject",
149
+ "IndexConfigsObjectTypedDict",
145
150
  "IndexConfigsText",
146
151
  "IndexConfigsTextTypedDict",
147
152
  "IndexConfigsTypedDict",
@@ -166,6 +171,7 @@ __all__ = [
166
171
  "Similarity",
167
172
  "Status",
168
173
  "Type",
174
+ "TypeObject",
169
175
  "TypeText",
170
176
  "TypeVector",
171
177
  "UpdateCollectionRequest",
@@ -221,6 +227,8 @@ _dynamic_imports: dict[str, str] = {
221
227
  "GetCollectionResponseTypedDict": ".getcollectionop",
222
228
  "Analyzer": ".indexconfigs_union",
223
229
  "IndexConfigs": ".indexconfigs_union",
230
+ "IndexConfigsObject": ".indexconfigs_union",
231
+ "IndexConfigsObjectTypedDict": ".indexconfigs_union",
224
232
  "IndexConfigsText": ".indexconfigs_union",
225
233
  "IndexConfigsTextTypedDict": ".indexconfigs_union",
226
234
  "IndexConfigsTypedDict": ".indexconfigs_union",
@@ -230,6 +238,7 @@ _dynamic_imports: dict[str, str] = {
230
238
  "IndexConfigsVectorTypedDict": ".indexconfigs_union",
231
239
  "Similarity": ".indexconfigs_union",
232
240
  "Type": ".indexconfigs_union",
241
+ "TypeObject": ".indexconfigs_union",
233
242
  "TypeText": ".indexconfigs_union",
234
243
  "TypeVector": ".indexconfigs_union",
235
244
  "ListCollectionsResponse": ".listcollectionsop",
@@ -3,8 +3,26 @@
3
3
  from __future__ import annotations
4
4
  from enum import Enum
5
5
  from lambdadb.types import BaseModel
6
- from typing import List, Optional, Union
7
- from typing_extensions import NotRequired, TypeAliasType, TypedDict
6
+ import pydantic
7
+ from typing import Any, Dict, List, Optional, Union
8
+ from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict
9
+
10
+
11
+ class TypeObject(str, Enum):
12
+ OBJECT = "object"
13
+
14
+
15
+ class IndexConfigsObjectTypedDict(TypedDict):
16
+ type: TypeObject
17
+ object_index_configs: Dict[str, Any]
18
+
19
+
20
+ class IndexConfigsObject(BaseModel):
21
+ type: TypeObject
22
+
23
+ object_index_configs: Annotated[
24
+ Dict[str, Any], pydantic.Field(alias="objectIndexConfigs")
25
+ ]
8
26
 
9
27
 
10
28
  class Type(str, Enum):
@@ -86,11 +104,15 @@ class IndexConfigsText(BaseModel):
86
104
  IndexConfigsUnionTypedDict = TypeAliasType(
87
105
  "IndexConfigsUnionTypedDict",
88
106
  Union[
89
- IndexConfigsTypedDict, IndexConfigsTextTypedDict, IndexConfigsVectorTypedDict
107
+ IndexConfigsTypedDict,
108
+ IndexConfigsTextTypedDict,
109
+ IndexConfigsObjectTypedDict,
110
+ IndexConfigsVectorTypedDict,
90
111
  ],
91
112
  )
92
113
 
93
114
 
94
115
  IndexConfigsUnion = TypeAliasType(
95
- "IndexConfigsUnion", Union[IndexConfigs, IndexConfigsText, IndexConfigsVector]
116
+ "IndexConfigsUnion",
117
+ Union[IndexConfigs, IndexConfigsText, IndexConfigsObject, IndexConfigsVector],
96
118
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: lambdadb
3
- Version: 0.5.8
3
+ Version: 0.5.9
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=1hHKpScZMbEaXb5RmUTEPjG1nevkHcXSQ6H1MSsTY0U,458
6
+ lambdadb/_version.py,sha256=p38SIF7QOdZT_iuXtyNTIiQnFs9PGur2HOGgAzb8E2g,458
7
7
  lambdadb/basesdk.py,sha256=wu3Ri2Po6LxhBngXYkD4-Grlxa0DX9I18cPH2vme-uI,11887
8
8
  lambdadb/collections.py,sha256=KAD2F4-R40sGDFQFuQ3-969jHNa1i9VcJK3fYXEPFE0,62326
9
9
  lambdadb/docs.py,sha256=rfKHo3omdeuMoImwU9T-rZXku_Ikz3jLut29MtpFNaE,62678
@@ -19,7 +19,7 @@ lambdadb/errors/responsevalidationerror.py,sha256=o_l_D3Z_Npl_BDprawTNU3df7xdoRE
19
19
  lambdadb/errors/toomanyrequests_error.py,sha256=yLIb-NT2tf7qJglHxleMUDNGnGSP2-_3CGzqiXIHtLE,713
20
20
  lambdadb/errors/unauthenticated_error.py,sha256=Ha7K1fbnx53nTxy8hRr1BW1qOEbtsJa3RjJWR9rPhsM,713
21
21
  lambdadb/httpclient.py,sha256=Eu73urOAiZQtdUIyOUnPccxCiBbWEKrXG-JrRG3SLM4,3946
22
- lambdadb/models/__init__.py,sha256=gqpF8FwCNnHGEFMuKM2L4lB7O3IjPXBCsOHOfgCiqn0,10345
22
+ lambdadb/models/__init__.py,sha256=kxWeJ1_Wp1xHQIPgwPn90v5JdFMCknb_1dHlNDlBgwY,10657
23
23
  lambdadb/models/bulkupsertdocsop.py,sha256=r_ExX7BFfF8oRfbeXWdX-DhSAry8ObvedvVE3z-Ky8I,1146
24
24
  lambdadb/models/collectionresponse.py,sha256=ZIF-GLeOV8RS-7MBSXGQuOjzOqeqCoTV_a5cndfnpug,1943
25
25
  lambdadb/models/createcollectionop.py,sha256=vFAp8DuYCs23NDOt1z7kZHvFzgK5ioo86X2Q9c35e5M,1886
@@ -28,7 +28,7 @@ lambdadb/models/deletedocsop.py,sha256=ObFx3COKkdceW13G1damN_fT2_P6GSLjUXLFwqv1m
28
28
  lambdadb/models/fetchdocsop.py,sha256=mKJOvdQF7vELyqC_0TbiZz1TvKRTZ9ihPYtNDKY7UF4,2790
29
29
  lambdadb/models/getbulkupsertdocsop.py,sha256=YtB3TyAHd1APvAVDb31edqRjQS3zVeZFobo7FJT4qd8,2282
30
30
  lambdadb/models/getcollectionop.py,sha256=Zew8mrD3JILVgRhAaTNBqVGlV6MRMyifsn4NXGOtl_M,955
31
- lambdadb/models/indexconfigs_union.py,sha256=TAP8A9wTIjWv9-XjhiEsdhXbHZ2RLKy0M3Gw9JVEK_E,2059
31
+ lambdadb/models/indexconfigs_union.py,sha256=T9cvgckm3XQBN_V4mcSOKSk8g7b_Q85O2xM4y5YEUPU,2510
32
32
  lambdadb/models/listcollectionsop.py,sha256=2A7FEUqenNAGTvf_uROGTuKGsx0Ilgmx9bKcgYG81as,603
33
33
  lambdadb/models/messageresponse.py,sha256=0QI5LuyZVLh0Z6Jytwlo2ebAZ6x1bw5TVe7zvzQCEnM,300
34
34
  lambdadb/models/querycollectionop.py,sha256=czOs5bn4ArCoIdFUZVCKfnpjfPPTexmnwjHkk7g3918,3800
@@ -59,7 +59,7 @@ lambdadb/utils/serializers.py,sha256=Hndks5M_rJXVub_N5lu0gKZQUoEmWrn6PN7R-0HwvOE
59
59
  lambdadb/utils/unmarshal_json_response.py,sha256=SdqH-uoU2JxE7yVb6ZGSSzDdrS5VlaijaEYMrkgRb_c,584
60
60
  lambdadb/utils/url.py,sha256=BgGPgcTA6MRK4bF8fjP2dUopN3NzEzxWMXPBVg8NQUA,5254
61
61
  lambdadb/utils/values.py,sha256=CcaCXEa3xHhkUDROyXZocN8f0bdITftv9Y0P9lTf0YM,3517
62
- lambdadb-0.5.8.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
63
- lambdadb-0.5.8.dist-info/METADATA,sha256=sAyVFbuX6OvfD_Xxsjx9QAAzUCKUq6oteWKabVmyjBA,21588
64
- lambdadb-0.5.8.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
65
- lambdadb-0.5.8.dist-info/RECORD,,
62
+ lambdadb-0.5.9.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
63
+ lambdadb-0.5.9.dist-info/METADATA,sha256=QBuInAS77OxDCoQ2_sxOkNaO_oH8LsOwLEIHrJfxVpI,21588
64
+ lambdadb-0.5.9.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
65
+ lambdadb-0.5.9.dist-info/RECORD,,