diff --git a/src/unstract/sdk/__init__.py b/src/unstract/sdk/__init__.py index f7c898e6..3f9c0f15 100644 --- a/src/unstract/sdk/__init__.py +++ b/src/unstract/sdk/__init__.py @@ -1,4 +1,4 @@ -__version__ = "v0.77.0" +__version__ = "v0.77.1" def get_sdk_version() -> str: diff --git a/src/unstract/sdk/adapters/llm/vertex_ai/src/static/json_schema.json b/src/unstract/sdk/adapters/llm/vertex_ai/src/static/json_schema.json index b79f4179..efa67a5d 100644 --- a/src/unstract/sdk/adapters/llm/vertex_ai/src/static/json_schema.json +++ b/src/unstract/sdk/adapters/llm/vertex_ai/src/static/json_schema.json @@ -53,7 +53,6 @@ "title": "Safety Settings", "description": "Vertex AI's configurable safety filters", "properties": { - "type": "string", "dangerous_content": { "type": "string", "title": "Dangerous Content", diff --git a/src/unstract/sdk/file_storage/helper.py b/src/unstract/sdk/file_storage/helper.py index afb4aa3b..fd085c55 100644 --- a/src/unstract/sdk/file_storage/helper.py +++ b/src/unstract/sdk/file_storage/helper.py @@ -45,7 +45,7 @@ def file_storage_init( ) raise FileStorageError(str(e)) from e except Exception as e: - logger.error(f"Error in initialising {provider.value} " f"file system {e}") + logger.error(f"Error in initialising {provider.value} file system {e}") raise FileStorageError(str(e)) from e return fs @@ -62,8 +62,7 @@ def local_file_system_init() -> AbstractFileSystem: return fs except Exception as e: logger.error( - f"Error in initialising {FileStorageProvider.GCS.value}" - f" file system {e}" + f"Error in initialising {FileStorageProvider.GCS.value} file system {e}" ) raise FileStorageError(str(e)) from e diff --git a/src/unstract/sdk/file_storage/impl.py b/src/unstract/sdk/file_storage/impl.py index 64cdfd0b..b8b3fc80 100644 --- a/src/unstract/sdk/file_storage/impl.py +++ b/src/unstract/sdk/file_storage/impl.py @@ -120,7 +120,6 @@ def mkdir(self, path: str, create_parents: bool = True): except Exception as e: raise FileOperationError(str(e)) from e - @skip_local_cache def exists(self, path: str) -> bool: """Checks if a file/directory path exists.