There was an error while loading. Please reload this page.
1 parent 55814d1 commit 3c462e3Copy full SHA for 3c462e3
1 file changed
src/bundles/lfx-bundles/src/lfx_bundles/faiss/faiss.py
@@ -92,9 +92,7 @@ def get_persist_directory(self) -> Path:
92
directory is confined to the storage dir before the per-user FAISS scope is appended.
93
"""
94
path = (
95
- enforce_local_file_access(self.resolve_path(self.persist_directory))
96
- if self.persist_directory
97
- else Path()
+ enforce_local_file_access(self.resolve_path(self.persist_directory)) if self.persist_directory else Path()
98
)
99
if user_scope := self._user_scope(self.user_id):
100
return path / ".langflow_faiss" / "users" / user_scope
0 commit comments