mirror of
https://github.com/langgenius/dify.git
synced 2026-05-09 21:28:25 +08:00
fix: update NoopSandboxStorage to return True for mount and unmount methods
This commit is contained in:
parent
40b0d7c898
commit
2e05068647
@ -6,10 +6,10 @@ class NoopSandboxStorage(SandboxStorage):
|
||||
"""A no-op storage implementation that does nothing on mount/unmount."""
|
||||
|
||||
def mount(self, sandbox: VirtualEnvironment) -> bool:
|
||||
return False
|
||||
return True
|
||||
|
||||
def unmount(self, sandbox: VirtualEnvironment) -> bool:
|
||||
return False
|
||||
return True
|
||||
|
||||
def exists(self) -> bool:
|
||||
return False
|
||||
|
||||
Loading…
Reference in New Issue
Block a user