lambdadb 0.4.0__tar.gz → 0.5.1__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.

Files changed (65) hide show
  1. {lambdadb-0.4.0 → lambdadb-0.5.1}/PKG-INFO +21 -21
  2. {lambdadb-0.4.0 → lambdadb-0.5.1}/README-PYPI.md +20 -20
  3. {lambdadb-0.4.0 → lambdadb-0.5.1}/pyproject.toml +1 -1
  4. {lambdadb-0.4.0 → lambdadb-0.5.1}/src/lambdadb/_version.py +2 -2
  5. {lambdadb-0.4.0 → lambdadb-0.5.1}/src/lambdadb/collections.py +12 -12
  6. {lambdadb-0.4.0 → lambdadb-0.5.1}/src/lambdadb/docs.py +12 -12
  7. {lambdadb-0.4.0 → lambdadb-0.5.1}/LICENSE +0 -0
  8. {lambdadb-0.4.0 → lambdadb-0.5.1}/py.typed +0 -0
  9. {lambdadb-0.4.0 → lambdadb-0.5.1}/src/lambdadb/__init__.py +0 -0
  10. {lambdadb-0.4.0 → lambdadb-0.5.1}/src/lambdadb/_hooks/__init__.py +0 -0
  11. {lambdadb-0.4.0 → lambdadb-0.5.1}/src/lambdadb/_hooks/registration.py +0 -0
  12. {lambdadb-0.4.0 → lambdadb-0.5.1}/src/lambdadb/_hooks/sdkhooks.py +0 -0
  13. {lambdadb-0.4.0 → lambdadb-0.5.1}/src/lambdadb/_hooks/types.py +0 -0
  14. {lambdadb-0.4.0 → lambdadb-0.5.1}/src/lambdadb/basesdk.py +0 -0
  15. {lambdadb-0.4.0 → lambdadb-0.5.1}/src/lambdadb/errors/__init__.py +0 -0
  16. {lambdadb-0.4.0 → lambdadb-0.5.1}/src/lambdadb/errors/apierror.py +0 -0
  17. {lambdadb-0.4.0 → lambdadb-0.5.1}/src/lambdadb/errors/badrequest_error.py +0 -0
  18. {lambdadb-0.4.0 → lambdadb-0.5.1}/src/lambdadb/errors/internalservererror.py +0 -0
  19. {lambdadb-0.4.0 → lambdadb-0.5.1}/src/lambdadb/errors/lambdadberror.py +0 -0
  20. {lambdadb-0.4.0 → lambdadb-0.5.1}/src/lambdadb/errors/no_response_error.py +0 -0
  21. {lambdadb-0.4.0 → lambdadb-0.5.1}/src/lambdadb/errors/resourcealreadyexists_error.py +0 -0
  22. {lambdadb-0.4.0 → lambdadb-0.5.1}/src/lambdadb/errors/resourcenotfound_error.py +0 -0
  23. {lambdadb-0.4.0 → lambdadb-0.5.1}/src/lambdadb/errors/responsevalidationerror.py +0 -0
  24. {lambdadb-0.4.0 → lambdadb-0.5.1}/src/lambdadb/errors/toomanyrequests_error.py +0 -0
  25. {lambdadb-0.4.0 → lambdadb-0.5.1}/src/lambdadb/errors/unauthenticated_error.py +0 -0
  26. {lambdadb-0.4.0 → lambdadb-0.5.1}/src/lambdadb/httpclient.py +0 -0
  27. {lambdadb-0.4.0 → lambdadb-0.5.1}/src/lambdadb/models/__init__.py +0 -0
  28. {lambdadb-0.4.0 → lambdadb-0.5.1}/src/lambdadb/models/bulkupsertdocsop.py +0 -0
  29. {lambdadb-0.4.0 → lambdadb-0.5.1}/src/lambdadb/models/collectionresponse.py +0 -0
  30. {lambdadb-0.4.0 → lambdadb-0.5.1}/src/lambdadb/models/createcollectionop.py +0 -0
  31. {lambdadb-0.4.0 → lambdadb-0.5.1}/src/lambdadb/models/deletecollectionop.py +0 -0
  32. {lambdadb-0.4.0 → lambdadb-0.5.1}/src/lambdadb/models/deletedocsop.py +0 -0
  33. {lambdadb-0.4.0 → lambdadb-0.5.1}/src/lambdadb/models/fetchdocsop.py +0 -0
  34. {lambdadb-0.4.0 → lambdadb-0.5.1}/src/lambdadb/models/getbulkupsertdocsop.py +0 -0
  35. {lambdadb-0.4.0 → lambdadb-0.5.1}/src/lambdadb/models/getcollectionop.py +0 -0
  36. {lambdadb-0.4.0 → lambdadb-0.5.1}/src/lambdadb/models/indexconfigs_union.py +0 -0
  37. {lambdadb-0.4.0 → lambdadb-0.5.1}/src/lambdadb/models/listcollectionsop.py +0 -0
  38. {lambdadb-0.4.0 → lambdadb-0.5.1}/src/lambdadb/models/messageresponse.py +0 -0
  39. {lambdadb-0.4.0 → lambdadb-0.5.1}/src/lambdadb/models/querycollectionop.py +0 -0
  40. {lambdadb-0.4.0 → lambdadb-0.5.1}/src/lambdadb/models/security.py +0 -0
  41. {lambdadb-0.4.0 → lambdadb-0.5.1}/src/lambdadb/models/status.py +0 -0
  42. {lambdadb-0.4.0 → lambdadb-0.5.1}/src/lambdadb/models/updatecollectionop.py +0 -0
  43. {lambdadb-0.4.0 → lambdadb-0.5.1}/src/lambdadb/models/updatedocsop.py +0 -0
  44. {lambdadb-0.4.0 → lambdadb-0.5.1}/src/lambdadb/models/upsertdocsop.py +0 -0
  45. {lambdadb-0.4.0 → lambdadb-0.5.1}/src/lambdadb/py.typed +0 -0
  46. {lambdadb-0.4.0 → lambdadb-0.5.1}/src/lambdadb/sdk.py +0 -0
  47. {lambdadb-0.4.0 → lambdadb-0.5.1}/src/lambdadb/sdkconfiguration.py +0 -0
  48. {lambdadb-0.4.0 → lambdadb-0.5.1}/src/lambdadb/types/__init__.py +0 -0
  49. {lambdadb-0.4.0 → lambdadb-0.5.1}/src/lambdadb/types/basemodel.py +0 -0
  50. {lambdadb-0.4.0 → lambdadb-0.5.1}/src/lambdadb/utils/__init__.py +0 -0
  51. {lambdadb-0.4.0 → lambdadb-0.5.1}/src/lambdadb/utils/annotations.py +0 -0
  52. {lambdadb-0.4.0 → lambdadb-0.5.1}/src/lambdadb/utils/datetimes.py +0 -0
  53. {lambdadb-0.4.0 → lambdadb-0.5.1}/src/lambdadb/utils/enums.py +0 -0
  54. {lambdadb-0.4.0 → lambdadb-0.5.1}/src/lambdadb/utils/eventstreaming.py +0 -0
  55. {lambdadb-0.4.0 → lambdadb-0.5.1}/src/lambdadb/utils/forms.py +0 -0
  56. {lambdadb-0.4.0 → lambdadb-0.5.1}/src/lambdadb/utils/headers.py +0 -0
  57. {lambdadb-0.4.0 → lambdadb-0.5.1}/src/lambdadb/utils/logger.py +0 -0
  58. {lambdadb-0.4.0 → lambdadb-0.5.1}/src/lambdadb/utils/metadata.py +0 -0
  59. {lambdadb-0.4.0 → lambdadb-0.5.1}/src/lambdadb/utils/queryparams.py +0 -0
  60. {lambdadb-0.4.0 → lambdadb-0.5.1}/src/lambdadb/utils/requestbodies.py +0 -0
  61. {lambdadb-0.4.0 → lambdadb-0.5.1}/src/lambdadb/utils/retries.py +0 -0
  62. {lambdadb-0.4.0 → lambdadb-0.5.1}/src/lambdadb/utils/security.py +0 -0
  63. {lambdadb-0.4.0 → lambdadb-0.5.1}/src/lambdadb/utils/serializers.py +0 -0
  64. {lambdadb-0.4.0 → lambdadb-0.5.1}/src/lambdadb/utils/url.py +0 -0
  65. {lambdadb-0.4.0 → lambdadb-0.5.1}/src/lambdadb/utils/values.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: lambdadb
3
- Version: 0.4.0
3
+ Version: 0.5.1
4
4
  Summary: Python Client SDK Generated by Speakeasy.
5
5
  Author: Speakeasy
6
6
  Requires-Python: >=3.9.2
@@ -135,7 +135,7 @@ with LambdaDB(
135
135
  project_api_key="<YOUR_PROJECT_API_KEY>",
136
136
  ) as lambda_db:
137
137
 
138
- res = lambda_db.collections.list_collections()
138
+ res = lambda_db.collections.list()
139
139
 
140
140
  # Handle response
141
141
  print(res)
@@ -155,7 +155,7 @@ async def main():
155
155
  project_api_key="<YOUR_PROJECT_API_KEY>",
156
156
  ) as lambda_db:
157
157
 
158
- res = await lambda_db.collections.list_collections_async()
158
+ res = await lambda_db.collections.list_async()
159
159
 
160
160
  # Handle response
161
161
  print(res)
@@ -184,7 +184,7 @@ with LambdaDB(
184
184
  project_api_key="<YOUR_PROJECT_API_KEY>",
185
185
  ) as lambda_db:
186
186
 
187
- res = lambda_db.collections.list_collections()
187
+ res = lambda_db.collections.list()
188
188
 
189
189
  # Handle response
190
190
  print(res)
@@ -200,21 +200,21 @@ with LambdaDB(
200
200
 
201
201
  ### [collections](https://github.com/lambdadb/lambdadb-python-client/blob/master/docs/sdks/collections/README.md)
202
202
 
203
- * [list_collections](https://github.com/lambdadb/lambdadb-python-client/blob/master/docs/sdks/collections/README.md#list_collections) - List all collections in an existing project.
204
- * [create_collection](https://github.com/lambdadb/lambdadb-python-client/blob/master/docs/sdks/collections/README.md#create_collection) - Create a collection.
205
- * [delete_collection](https://github.com/lambdadb/lambdadb-python-client/blob/master/docs/sdks/collections/README.md#delete_collection) - Delete an existing collection.
206
- * [get_collection](https://github.com/lambdadb/lambdadb-python-client/blob/master/docs/sdks/collections/README.md#get_collection) - Get metadata of an existing collection.
207
- * [update_collection](https://github.com/lambdadb/lambdadb-python-client/blob/master/docs/sdks/collections/README.md#update_collection) - Configure a collection.
208
- * [query_collection](https://github.com/lambdadb/lambdadb-python-client/blob/master/docs/sdks/collections/README.md#query_collection) - Search a collection with a query and return the most similar documents.
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 a collection.
205
+ * [delete](https://github.com/lambdadb/lambdadb-python-client/blob/master/docs/sdks/collections/README.md#delete) - Delete an existing collection.
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 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_docs](https://github.com/lambdadb/lambdadb-python-client/blob/master/docs/sdks/docs/README.md#upsert_docs) - Upsert documents into a collection. Note that the maximum supported payload size is 6MB.
213
- * [get_bulk_upsert_docs](https://github.com/lambdadb/lambdadb-python-client/blob/master/docs/sdks/docs/README.md#get_bulk_upsert_docs) - Request required info to upload documents.
214
- * [bulk_upsert_docs](https://github.com/lambdadb/lambdadb-python-client/blob/master/docs/sdks/docs/README.md#bulk_upsert_docs) - 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_docs](https://github.com/lambdadb/lambdadb-python-client/blob/master/docs/sdks/docs/README.md#delete_docs) - Delete documents by document IDs or query filter from a collection.
217
- * [fetch_docs](https://github.com/lambdadb/lambdadb-python-client/blob/master/docs/sdks/docs/README.md#fetch_docs) - Lookup and return documents by document IDs from a collection.
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
+ * [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 a collection. Note that the maximum supported object size is 200MB.
215
+ * [update](https://github.com/lambdadb/lambdadb-python-client/blob/master/docs/sdks/docs/README.md#update) - 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.
218
218
 
219
219
 
220
220
  </details>
@@ -235,7 +235,7 @@ with LambdaDB(
235
235
  project_api_key="<YOUR_PROJECT_API_KEY>",
236
236
  ) as lambda_db:
237
237
 
238
- res = lambda_db.collections.list_collections(,
238
+ res = lambda_db.collections.list(,
239
239
  RetryConfig("backoff", BackoffStrategy(1, 50, 1.1, 100), False))
240
240
 
241
241
  # Handle response
@@ -254,7 +254,7 @@ with LambdaDB(
254
254
  project_api_key="<YOUR_PROJECT_API_KEY>",
255
255
  ) as lambda_db:
256
256
 
257
- res = lambda_db.collections.list_collections()
257
+ res = lambda_db.collections.list()
258
258
 
259
259
  # Handle response
260
260
  print(res)
@@ -287,7 +287,7 @@ with LambdaDB(
287
287
  res = None
288
288
  try:
289
289
 
290
- res = lambda_db.collections.list_collections()
290
+ res = lambda_db.collections.list()
291
291
 
292
292
  # Handle response
293
293
  print(res)
@@ -356,7 +356,7 @@ with LambdaDB(
356
356
  project_api_key="<YOUR_PROJECT_API_KEY>",
357
357
  ) as lambda_db:
358
358
 
359
- res = lambda_db.collections.list_collections()
359
+ res = lambda_db.collections.list()
360
360
 
361
361
  # Handle response
362
362
  print(res)
@@ -375,7 +375,7 @@ with LambdaDB(
375
375
  project_api_key="<YOUR_PROJECT_API_KEY>",
376
376
  ) as lambda_db:
377
377
 
378
- res = lambda_db.collections.list_collections()
378
+ res = lambda_db.collections.list()
379
379
 
380
380
  # Handle response
381
381
  print(res)
@@ -118,7 +118,7 @@ with LambdaDB(
118
118
  project_api_key="<YOUR_PROJECT_API_KEY>",
119
119
  ) as lambda_db:
120
120
 
121
- res = lambda_db.collections.list_collections()
121
+ res = lambda_db.collections.list()
122
122
 
123
123
  # Handle response
124
124
  print(res)
@@ -138,7 +138,7 @@ async def main():
138
138
  project_api_key="<YOUR_PROJECT_API_KEY>",
139
139
  ) as lambda_db:
140
140
 
141
- res = await lambda_db.collections.list_collections_async()
141
+ res = await lambda_db.collections.list_async()
142
142
 
143
143
  # Handle response
144
144
  print(res)
@@ -167,7 +167,7 @@ with LambdaDB(
167
167
  project_api_key="<YOUR_PROJECT_API_KEY>",
168
168
  ) as lambda_db:
169
169
 
170
- res = lambda_db.collections.list_collections()
170
+ res = lambda_db.collections.list()
171
171
 
172
172
  # Handle response
173
173
  print(res)
@@ -183,21 +183,21 @@ with LambdaDB(
183
183
 
184
184
  ### [collections](https://github.com/lambdadb/lambdadb-python-client/blob/master/docs/sdks/collections/README.md)
185
185
 
186
- * [list_collections](https://github.com/lambdadb/lambdadb-python-client/blob/master/docs/sdks/collections/README.md#list_collections) - List all collections in an existing project.
187
- * [create_collection](https://github.com/lambdadb/lambdadb-python-client/blob/master/docs/sdks/collections/README.md#create_collection) - Create a collection.
188
- * [delete_collection](https://github.com/lambdadb/lambdadb-python-client/blob/master/docs/sdks/collections/README.md#delete_collection) - Delete an existing collection.
189
- * [get_collection](https://github.com/lambdadb/lambdadb-python-client/blob/master/docs/sdks/collections/README.md#get_collection) - Get metadata of an existing collection.
190
- * [update_collection](https://github.com/lambdadb/lambdadb-python-client/blob/master/docs/sdks/collections/README.md#update_collection) - Configure a collection.
191
- * [query_collection](https://github.com/lambdadb/lambdadb-python-client/blob/master/docs/sdks/collections/README.md#query_collection) - Search a collection with a query and return the most similar documents.
186
+ * [list](https://github.com/lambdadb/lambdadb-python-client/blob/master/docs/sdks/collections/README.md#list) - List all collections in an existing project.
187
+ * [create](https://github.com/lambdadb/lambdadb-python-client/blob/master/docs/sdks/collections/README.md#create) - Create a collection.
188
+ * [delete](https://github.com/lambdadb/lambdadb-python-client/blob/master/docs/sdks/collections/README.md#delete) - Delete an existing collection.
189
+ * [get](https://github.com/lambdadb/lambdadb-python-client/blob/master/docs/sdks/collections/README.md#get) - Get metadata of an existing collection.
190
+ * [update](https://github.com/lambdadb/lambdadb-python-client/blob/master/docs/sdks/collections/README.md#update) - Configure a collection.
191
+ * [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.
192
192
 
193
193
  #### [collections.docs](https://github.com/lambdadb/lambdadb-python-client/blob/master/docs/sdks/docs/README.md)
194
194
 
195
- * [upsert_docs](https://github.com/lambdadb/lambdadb-python-client/blob/master/docs/sdks/docs/README.md#upsert_docs) - Upsert documents into a collection. Note that the maximum supported payload size is 6MB.
196
- * [get_bulk_upsert_docs](https://github.com/lambdadb/lambdadb-python-client/blob/master/docs/sdks/docs/README.md#get_bulk_upsert_docs) - Request required info to upload documents.
197
- * [bulk_upsert_docs](https://github.com/lambdadb/lambdadb-python-client/blob/master/docs/sdks/docs/README.md#bulk_upsert_docs) - Bulk upsert documents into a collection. Note that the maximum supported object size is 200MB.
198
- * [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.
199
- * [delete_docs](https://github.com/lambdadb/lambdadb-python-client/blob/master/docs/sdks/docs/README.md#delete_docs) - Delete documents by document IDs or query filter from a collection.
200
- * [fetch_docs](https://github.com/lambdadb/lambdadb-python-client/blob/master/docs/sdks/docs/README.md#fetch_docs) - Lookup and return documents by document IDs from a collection.
195
+ * [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.
196
+ * [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.
197
+ * [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.
198
+ * [update](https://github.com/lambdadb/lambdadb-python-client/blob/master/docs/sdks/docs/README.md#update) - Update documents in a collection. Note that the maximum supported payload size is 6MB.
199
+ * [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.
200
+ * [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.
201
201
 
202
202
 
203
203
  </details>
@@ -218,7 +218,7 @@ with LambdaDB(
218
218
  project_api_key="<YOUR_PROJECT_API_KEY>",
219
219
  ) as lambda_db:
220
220
 
221
- res = lambda_db.collections.list_collections(,
221
+ res = lambda_db.collections.list(,
222
222
  RetryConfig("backoff", BackoffStrategy(1, 50, 1.1, 100), False))
223
223
 
224
224
  # Handle response
@@ -237,7 +237,7 @@ with LambdaDB(
237
237
  project_api_key="<YOUR_PROJECT_API_KEY>",
238
238
  ) as lambda_db:
239
239
 
240
- res = lambda_db.collections.list_collections()
240
+ res = lambda_db.collections.list()
241
241
 
242
242
  # Handle response
243
243
  print(res)
@@ -270,7 +270,7 @@ with LambdaDB(
270
270
  res = None
271
271
  try:
272
272
 
273
- res = lambda_db.collections.list_collections()
273
+ res = lambda_db.collections.list()
274
274
 
275
275
  # Handle response
276
276
  print(res)
@@ -339,7 +339,7 @@ with LambdaDB(
339
339
  project_api_key="<YOUR_PROJECT_API_KEY>",
340
340
  ) as lambda_db:
341
341
 
342
- res = lambda_db.collections.list_collections()
342
+ res = lambda_db.collections.list()
343
343
 
344
344
  # Handle response
345
345
  print(res)
@@ -358,7 +358,7 @@ with LambdaDB(
358
358
  project_api_key="<YOUR_PROJECT_API_KEY>",
359
359
  ) as lambda_db:
360
360
 
361
- res = lambda_db.collections.list_collections()
361
+ res = lambda_db.collections.list()
362
362
 
363
363
  # Handle response
364
364
  print(res)
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "lambdadb"
3
- version = "0.4.0"
3
+ version = "0.5.1"
4
4
  description = "Python Client SDK Generated by Speakeasy."
5
5
  authors = [{ name = "Speakeasy" },]
6
6
  readme = "README-PYPI.md"
@@ -3,10 +3,10 @@
3
3
  import importlib.metadata
4
4
 
5
5
  __title__: str = "lambdadb"
6
- __version__: str = "0.4.0"
6
+ __version__: str = "0.5.1"
7
7
  __openapi_doc_version__: str = "1.1.1"
8
8
  __gen_version__: str = "2.647.2"
9
- __user_agent__: str = "speakeasy-sdk/python 0.4.0 2.647.2 1.1.1 lambdadb"
9
+ __user_agent__: str = "speakeasy-sdk/python 0.5.1 2.647.2 1.1.1 lambdadb"
10
10
 
11
11
  try:
12
12
  if __package__ is not None:
@@ -21,7 +21,7 @@ class Collections(BaseSDK):
21
21
  def _init_sdks(self):
22
22
  self.docs = Docs(self.sdk_configuration)
23
23
 
24
- def list_collections(
24
+ def list(
25
25
  self,
26
26
  *,
27
27
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
@@ -122,7 +122,7 @@ class Collections(BaseSDK):
122
122
 
123
123
  raise errors.APIError("Unexpected response received", http_res)
124
124
 
125
- async def list_collections_async(
125
+ async def list_async(
126
126
  self,
127
127
  *,
128
128
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
@@ -223,7 +223,7 @@ class Collections(BaseSDK):
223
223
 
224
224
  raise errors.APIError("Unexpected response received", http_res)
225
225
 
226
- def create_collection(
226
+ def create(
227
227
  self,
228
228
  *,
229
229
  collection_name: str,
@@ -361,7 +361,7 @@ class Collections(BaseSDK):
361
361
 
362
362
  raise errors.APIError("Unexpected response received", http_res)
363
363
 
364
- async def create_collection_async(
364
+ async def create_async(
365
365
  self,
366
366
  *,
367
367
  collection_name: str,
@@ -499,7 +499,7 @@ class Collections(BaseSDK):
499
499
 
500
500
  raise errors.APIError("Unexpected response received", http_res)
501
501
 
502
- def delete_collection(
502
+ def delete(
503
503
  self,
504
504
  *,
505
505
  collection_name: str,
@@ -605,7 +605,7 @@ class Collections(BaseSDK):
605
605
 
606
606
  raise errors.APIError("Unexpected response received", http_res)
607
607
 
608
- async def delete_collection_async(
608
+ async def delete_async(
609
609
  self,
610
610
  *,
611
611
  collection_name: str,
@@ -711,7 +711,7 @@ class Collections(BaseSDK):
711
711
 
712
712
  raise errors.APIError("Unexpected response received", http_res)
713
713
 
714
- def get_collection(
714
+ def get(
715
715
  self,
716
716
  *,
717
717
  collection_name: str,
@@ -817,7 +817,7 @@ class Collections(BaseSDK):
817
817
 
818
818
  raise errors.APIError("Unexpected response received", http_res)
819
819
 
820
- async def get_collection_async(
820
+ async def get_async(
821
821
  self,
822
822
  *,
823
823
  collection_name: str,
@@ -923,7 +923,7 @@ class Collections(BaseSDK):
923
923
 
924
924
  raise errors.APIError("Unexpected response received", http_res)
925
925
 
926
- def update_collection(
926
+ def update(
927
927
  self,
928
928
  *,
929
929
  collection_name: str,
@@ -1053,7 +1053,7 @@ class Collections(BaseSDK):
1053
1053
 
1054
1054
  raise errors.APIError("Unexpected response received", http_res)
1055
1055
 
1056
- async def update_collection_async(
1056
+ async def update_async(
1057
1057
  self,
1058
1058
  *,
1059
1059
  collection_name: str,
@@ -1183,7 +1183,7 @@ class Collections(BaseSDK):
1183
1183
 
1184
1184
  raise errors.APIError("Unexpected response received", http_res)
1185
1185
 
1186
- def query_collection(
1186
+ def query(
1187
1187
  self,
1188
1188
  *,
1189
1189
  collection_name: str,
@@ -1323,7 +1323,7 @@ class Collections(BaseSDK):
1323
1323
 
1324
1324
  raise errors.APIError("Unexpected response received", http_res)
1325
1325
 
1326
- async def query_collection_async(
1326
+ async def query_async(
1327
1327
  self,
1328
1328
  *,
1329
1329
  collection_name: str,
@@ -9,7 +9,7 @@ from typing import Any, Dict, List, Mapping, Optional
9
9
 
10
10
 
11
11
  class Docs(BaseSDK):
12
- def upsert_docs(
12
+ def upsert(
13
13
  self,
14
14
  *,
15
15
  collection_name: str,
@@ -128,7 +128,7 @@ class Docs(BaseSDK):
128
128
 
129
129
  raise errors.APIError("Unexpected response received", http_res)
130
130
 
131
- async def upsert_docs_async(
131
+ async def upsert_async(
132
132
  self,
133
133
  *,
134
134
  collection_name: str,
@@ -247,7 +247,7 @@ class Docs(BaseSDK):
247
247
 
248
248
  raise errors.APIError("Unexpected response received", http_res)
249
249
 
250
- def get_bulk_upsert_docs(
250
+ def get_bulk_upsert(
251
251
  self,
252
252
  *,
253
253
  collection_name: str,
@@ -355,7 +355,7 @@ class Docs(BaseSDK):
355
355
 
356
356
  raise errors.APIError("Unexpected response received", http_res)
357
357
 
358
- async def get_bulk_upsert_docs_async(
358
+ async def get_bulk_upsert_async(
359
359
  self,
360
360
  *,
361
361
  collection_name: str,
@@ -463,7 +463,7 @@ class Docs(BaseSDK):
463
463
 
464
464
  raise errors.APIError("Unexpected response received", http_res)
465
465
 
466
- def bulk_upsert_docs(
466
+ def bulk_upsert(
467
467
  self,
468
468
  *,
469
469
  collection_name: str,
@@ -586,7 +586,7 @@ class Docs(BaseSDK):
586
586
 
587
587
  raise errors.APIError("Unexpected response received", http_res)
588
588
 
589
- async def bulk_upsert_docs_async(
589
+ async def bulk_upsert_async(
590
590
  self,
591
591
  *,
592
592
  collection_name: str,
@@ -709,7 +709,7 @@ class Docs(BaseSDK):
709
709
 
710
710
  raise errors.APIError("Unexpected response received", http_res)
711
711
 
712
- def update_docs(
712
+ def update(
713
713
  self,
714
714
  *,
715
715
  collection_name: str,
@@ -828,7 +828,7 @@ class Docs(BaseSDK):
828
828
 
829
829
  raise errors.APIError("Unexpected response received", http_res)
830
830
 
831
- async def update_docs_async(
831
+ async def update_async(
832
832
  self,
833
833
  *,
834
834
  collection_name: str,
@@ -947,7 +947,7 @@ class Docs(BaseSDK):
947
947
 
948
948
  raise errors.APIError("Unexpected response received", http_res)
949
949
 
950
- def delete_docs(
950
+ def delete(
951
951
  self,
952
952
  *,
953
953
  collection_name: str,
@@ -1069,7 +1069,7 @@ class Docs(BaseSDK):
1069
1069
 
1070
1070
  raise errors.APIError("Unexpected response received", http_res)
1071
1071
 
1072
- async def delete_docs_async(
1072
+ async def delete_async(
1073
1073
  self,
1074
1074
  *,
1075
1075
  collection_name: str,
@@ -1191,7 +1191,7 @@ class Docs(BaseSDK):
1191
1191
 
1192
1192
  raise errors.APIError("Unexpected response received", http_res)
1193
1193
 
1194
- def fetch_docs(
1194
+ def fetch(
1195
1195
  self,
1196
1196
  *,
1197
1197
  collection_name: str,
@@ -1316,7 +1316,7 @@ class Docs(BaseSDK):
1316
1316
 
1317
1317
  raise errors.APIError("Unexpected response received", http_res)
1318
1318
 
1319
- async def fetch_docs_async(
1319
+ async def fetch_async(
1320
1320
  self,
1321
1321
  *,
1322
1322
  collection_name: str,
File without changes
File without changes
File without changes
File without changes