mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2025-09-10 15:35:51 +00:00
Add persist_browser_session flag to workflows (#777)
This commit is contained in:
parent
be1c8ba060
commit
95b2e53c46
14 changed files with 139 additions and 1 deletions
|
@ -75,6 +75,11 @@ def zip_files(files_path: str, zip_file_path: str) -> str:
|
|||
return zip_file_path
|
||||
|
||||
|
||||
def unzip_files(zip_file_path: str, output_dir: str) -> None:
|
||||
with zipfile.ZipFile(zip_file_path, "r") as zip_ref:
|
||||
zip_ref.extractall(output_dir)
|
||||
|
||||
|
||||
def get_path_for_workflow_download_directory(workflow_run_id: str) -> Path:
|
||||
return Path(f"{REPO_ROOT_DIR}/downloads/{workflow_run_id}/")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue