lambdadb 0.5.8__tar.gz → 0.5.9__tar.gz
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-0.5.8 → lambdadb-0.5.9}/PKG-INFO +1 -1
- {lambdadb-0.5.8 → lambdadb-0.5.9}/pyproject.toml +1 -1
- {lambdadb-0.5.8 → lambdadb-0.5.9}/src/lambdadb/_version.py +2 -2
- {lambdadb-0.5.8 → lambdadb-0.5.9}/src/lambdadb/models/__init__.py +9 -0
- {lambdadb-0.5.8 → lambdadb-0.5.9}/src/lambdadb/models/indexconfigs_union.py +26 -4
- {lambdadb-0.5.8 → lambdadb-0.5.9}/LICENSE +0 -0
- {lambdadb-0.5.8 → lambdadb-0.5.9}/README-PYPI.md +0 -0
- {lambdadb-0.5.8 → lambdadb-0.5.9}/py.typed +0 -0
- {lambdadb-0.5.8 → lambdadb-0.5.9}/src/lambdadb/__init__.py +0 -0
- {lambdadb-0.5.8 → lambdadb-0.5.9}/src/lambdadb/_hooks/__init__.py +0 -0
- {lambdadb-0.5.8 → lambdadb-0.5.9}/src/lambdadb/_hooks/registration.py +0 -0
- {lambdadb-0.5.8 → lambdadb-0.5.9}/src/lambdadb/_hooks/sdkhooks.py +0 -0
- {lambdadb-0.5.8 → lambdadb-0.5.9}/src/lambdadb/_hooks/types.py +0 -0
- {lambdadb-0.5.8 → lambdadb-0.5.9}/src/lambdadb/basesdk.py +0 -0
- {lambdadb-0.5.8 → lambdadb-0.5.9}/src/lambdadb/collections.py +0 -0
- {lambdadb-0.5.8 → lambdadb-0.5.9}/src/lambdadb/docs.py +0 -0
- {lambdadb-0.5.8 → lambdadb-0.5.9}/src/lambdadb/errors/__init__.py +0 -0
- {lambdadb-0.5.8 → lambdadb-0.5.9}/src/lambdadb/errors/apierror.py +0 -0
- {lambdadb-0.5.8 → lambdadb-0.5.9}/src/lambdadb/errors/badrequest_error.py +0 -0
- {lambdadb-0.5.8 → lambdadb-0.5.9}/src/lambdadb/errors/internalservererror.py +0 -0
- {lambdadb-0.5.8 → lambdadb-0.5.9}/src/lambdadb/errors/lambdadberror.py +0 -0
- {lambdadb-0.5.8 → lambdadb-0.5.9}/src/lambdadb/errors/no_response_error.py +0 -0
- {lambdadb-0.5.8 → lambdadb-0.5.9}/src/lambdadb/errors/resourcealreadyexists_error.py +0 -0
- {lambdadb-0.5.8 → lambdadb-0.5.9}/src/lambdadb/errors/resourcenotfound_error.py +0 -0
- {lambdadb-0.5.8 → lambdadb-0.5.9}/src/lambdadb/errors/responsevalidationerror.py +0 -0
- {lambdadb-0.5.8 → lambdadb-0.5.9}/src/lambdadb/errors/toomanyrequests_error.py +0 -0
- {lambdadb-0.5.8 → lambdadb-0.5.9}/src/lambdadb/errors/unauthenticated_error.py +0 -0
- {lambdadb-0.5.8 → lambdadb-0.5.9}/src/lambdadb/httpclient.py +0 -0
- {lambdadb-0.5.8 → lambdadb-0.5.9}/src/lambdadb/models/bulkupsertdocsop.py +0 -0
- {lambdadb-0.5.8 → lambdadb-0.5.9}/src/lambdadb/models/collectionresponse.py +0 -0
- {lambdadb-0.5.8 → lambdadb-0.5.9}/src/lambdadb/models/createcollectionop.py +0 -0
- {lambdadb-0.5.8 → lambdadb-0.5.9}/src/lambdadb/models/deletecollectionop.py +0 -0
- {lambdadb-0.5.8 → lambdadb-0.5.9}/src/lambdadb/models/deletedocsop.py +0 -0
- {lambdadb-0.5.8 → lambdadb-0.5.9}/src/lambdadb/models/fetchdocsop.py +0 -0
- {lambdadb-0.5.8 → lambdadb-0.5.9}/src/lambdadb/models/getbulkupsertdocsop.py +0 -0
- {lambdadb-0.5.8 → lambdadb-0.5.9}/src/lambdadb/models/getcollectionop.py +0 -0
- {lambdadb-0.5.8 → lambdadb-0.5.9}/src/lambdadb/models/listcollectionsop.py +0 -0
- {lambdadb-0.5.8 → lambdadb-0.5.9}/src/lambdadb/models/messageresponse.py +0 -0
- {lambdadb-0.5.8 → lambdadb-0.5.9}/src/lambdadb/models/querycollectionop.py +0 -0
- {lambdadb-0.5.8 → lambdadb-0.5.9}/src/lambdadb/models/security.py +0 -0
- {lambdadb-0.5.8 → lambdadb-0.5.9}/src/lambdadb/models/status.py +0 -0
- {lambdadb-0.5.8 → lambdadb-0.5.9}/src/lambdadb/models/updatecollectionop.py +0 -0
- {lambdadb-0.5.8 → lambdadb-0.5.9}/src/lambdadb/models/updatedocsop.py +0 -0
- {lambdadb-0.5.8 → lambdadb-0.5.9}/src/lambdadb/models/upsertdocsop.py +0 -0
- {lambdadb-0.5.8 → lambdadb-0.5.9}/src/lambdadb/py.typed +0 -0
- {lambdadb-0.5.8 → lambdadb-0.5.9}/src/lambdadb/sdk.py +0 -0
- {lambdadb-0.5.8 → lambdadb-0.5.9}/src/lambdadb/sdkconfiguration.py +0 -0
- {lambdadb-0.5.8 → lambdadb-0.5.9}/src/lambdadb/types/__init__.py +0 -0
- {lambdadb-0.5.8 → lambdadb-0.5.9}/src/lambdadb/types/basemodel.py +0 -0
- {lambdadb-0.5.8 → lambdadb-0.5.9}/src/lambdadb/utils/__init__.py +0 -0
- {lambdadb-0.5.8 → lambdadb-0.5.9}/src/lambdadb/utils/annotations.py +0 -0
- {lambdadb-0.5.8 → lambdadb-0.5.9}/src/lambdadb/utils/datetimes.py +0 -0
- {lambdadb-0.5.8 → lambdadb-0.5.9}/src/lambdadb/utils/enums.py +0 -0
- {lambdadb-0.5.8 → lambdadb-0.5.9}/src/lambdadb/utils/eventstreaming.py +0 -0
- {lambdadb-0.5.8 → lambdadb-0.5.9}/src/lambdadb/utils/forms.py +0 -0
- {lambdadb-0.5.8 → lambdadb-0.5.9}/src/lambdadb/utils/headers.py +0 -0
- {lambdadb-0.5.8 → lambdadb-0.5.9}/src/lambdadb/utils/logger.py +0 -0
- {lambdadb-0.5.8 → lambdadb-0.5.9}/src/lambdadb/utils/metadata.py +0 -0
- {lambdadb-0.5.8 → lambdadb-0.5.9}/src/lambdadb/utils/queryparams.py +0 -0
- {lambdadb-0.5.8 → lambdadb-0.5.9}/src/lambdadb/utils/requestbodies.py +0 -0
- {lambdadb-0.5.8 → lambdadb-0.5.9}/src/lambdadb/utils/retries.py +0 -0
- {lambdadb-0.5.8 → lambdadb-0.5.9}/src/lambdadb/utils/security.py +0 -0
- {lambdadb-0.5.8 → lambdadb-0.5.9}/src/lambdadb/utils/serializers.py +0 -0
- {lambdadb-0.5.8 → lambdadb-0.5.9}/src/lambdadb/utils/unmarshal_json_response.py +0 -0
- {lambdadb-0.5.8 → lambdadb-0.5.9}/src/lambdadb/utils/url.py +0 -0
- {lambdadb-0.5.8 → lambdadb-0.5.9}/src/lambdadb/utils/values.py +0 -0
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
import importlib.metadata
|
|
4
4
|
|
|
5
5
|
__title__: str = "lambdadb"
|
|
6
|
-
__version__: str = "0.5.
|
|
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.
|
|
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
|
-
|
|
7
|
-
from
|
|
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,
|
|
107
|
+
IndexConfigsTypedDict,
|
|
108
|
+
IndexConfigsTextTypedDict,
|
|
109
|
+
IndexConfigsObjectTypedDict,
|
|
110
|
+
IndexConfigsVectorTypedDict,
|
|
90
111
|
],
|
|
91
112
|
)
|
|
92
113
|
|
|
93
114
|
|
|
94
115
|
IndexConfigsUnion = TypeAliasType(
|
|
95
|
-
"IndexConfigsUnion",
|
|
116
|
+
"IndexConfigsUnion",
|
|
117
|
+
Union[IndexConfigs, IndexConfigsText, IndexConfigsObject, IndexConfigsVector],
|
|
96
118
|
)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|