Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/unstract/sdk/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "v0.77.0"
__version__ = "v0.77.1"


def get_sdk_version() -> str:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@
"title": "Safety Settings",
"description": "Vertex AI's configurable safety filters",
"properties": {
"type": "string",
"dangerous_content": {
"type": "string",
"title": "Dangerous Content",
Expand Down
5 changes: 2 additions & 3 deletions src/unstract/sdk/file_storage/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand Down
1 change: 0 additions & 1 deletion src/unstract/sdk/file_storage/impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down