Add persist_browser_session flag to workflows (#777)

This commit is contained in:
Kerem Yilmaz 2024-09-06 12:01:56 -07:00 committed by GitHub
parent be1c8ba060
commit 95b2e53c46
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 139 additions and 1 deletions

View file

@ -59,3 +59,11 @@ class BaseStorage(ABC):
@abstractmethod
async def get_streaming_file(self, organization_id: str, file_name: str, use_default: bool = True) -> bytes | None:
pass
@abstractmethod
async def store_browser_session(self, organization_id: str, workflow_permanent_id: str, directory: str) -> None:
pass
@abstractmethod
async def retrieve_browser_session(self, organization_id: str, workflow_permanent_id: str) -> str | None:
pass