Implement DownloadToS3Block (#133)

This commit is contained in:
Kerem Yilmaz 2024-03-28 16:46:54 -07:00 committed by GitHub
parent 57062952b8
commit 3d1b146470
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 128 additions and 3 deletions

View file

@ -29,3 +29,8 @@ class WorkflowDefinitionHasDuplicateParameterKeys(BaseWorkflowException):
f"WorkflowDefinition has parameters with duplicate keys. Each parameter needs to have a unique "
f"key. Duplicate key(s): {','.join(duplicate_keys)}"
)
class DownloadFileMaxSizeExceeded(BaseWorkflowException):
def __init__(self, max_size: int) -> None:
super().__init__(f"Download file size exceeded the maximum allowed size of {max_size} MB.")