Ykeremy/click instead of download (#275)

This commit is contained in:
Kerem Yilmaz 2024-05-07 23:54:07 -07:00 committed by GitHub
parent 2788b53a0c
commit cc91c1b2b6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 42 additions and 12 deletions

View file

@ -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}/")