lambdadb 0.3.4__py3-none-any.whl → 0.3.6__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.4"
6
+ __version__: str = "0.3.6"
7
7
  __openapi_doc_version__: str = "1.1.1"
8
- __gen_version__: str = "2.644.1"
9
- __user_agent__: str = "speakeasy-sdk/python 0.3.4 2.644.1 1.1.1 lambdadb"
8
+ __gen_version__: str = "2.647.2"
9
+ __user_agent__: str = "speakeasy-sdk/python 0.3.6 2.647.2 1.1.1 lambdadb"
10
10
 
11
11
  try:
12
12
  if __package__ is not None:
lambdadb/basesdk.py CHANGED
@@ -240,7 +240,7 @@ class BaseSDK:
240
240
 
241
241
  if http_res is None:
242
242
  logger.debug("Raising no response SDK error")
243
- raise errors.APIError("No response received")
243
+ raise errors.NoResponseError("No response received")
244
244
 
245
245
  logger.debug(
246
246
  "Response:\nStatus Code: %s\nURL: %s\nHeaders: %s\nBody: %s",
@@ -261,7 +261,7 @@ class BaseSDK:
261
261
  http_res = result
262
262
  else:
263
263
  logger.debug("Raising unexpected SDK error")
264
- raise errors.APIError("Unexpected error occurred")
264
+ raise errors.APIError("Unexpected error occurred", http_res)
265
265
 
266
266
  return http_res
267
267
 
@@ -312,7 +312,7 @@ class BaseSDK:
312
312
 
313
313
  if http_res is None:
314
314
  logger.debug("Raising no response SDK error")
315
- raise errors.APIError("No response received")
315
+ raise errors.NoResponseError("No response received")
316
316
 
317
317
  logger.debug(
318
318
  "Response:\nStatus Code: %s\nURL: %s\nHeaders: %s\nBody: %s",
@@ -333,7 +333,7 @@ class BaseSDK:
333
333
  http_res = result
334
334
  else:
335
335
  logger.debug("Raising unexpected SDK error")
336
- raise errors.APIError("Unexpected error occurred")
336
+ raise errors.APIError("Unexpected error occurred", http_res)
337
337
 
338
338
  return http_res
339
339