mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2025-09-10 15:35:51 +00:00
Ykeremy/click instead of download (#275)
This commit is contained in:
parent
2788b53a0c
commit
cc91c1b2b6
5 changed files with 42 additions and 12 deletions
|
@ -7,7 +7,7 @@ from urllib.parse import urlparse
|
|||
import aiohttp
|
||||
import structlog
|
||||
|
||||
from skyvern.constants import SKYVERN_DIR
|
||||
from skyvern.constants import REPO_ROOT_DIR
|
||||
from skyvern.exceptions import DownloadFileMaxSizeExceeded
|
||||
|
||||
LOG = structlog.get_logger()
|
||||
|
@ -67,4 +67,4 @@ def zip_files(files_path: str, zip_file_path: str) -> str:
|
|||
|
||||
|
||||
def get_path_for_workflow_download_directory(workflow_run_id: str) -> Path:
|
||||
return Path(f"{SKYVERN_DIR}/downloads/{workflow_run_id}/")
|
||||
return Path(f"{REPO_ROOT_DIR}/downloads/{workflow_run_id}/")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue