diff --git a/src/superannotate/lib/app/interface/sdk_interface.py b/src/superannotate/lib/app/interface/sdk_interface.py index ea78d4cd6..8b2dfd4d2 100644 --- a/src/superannotate/lib/app/interface/sdk_interface.py +++ b/src/superannotate/lib/app/interface/sdk_interface.py @@ -2186,6 +2186,8 @@ def download_export( for _ in use_case.execute(): continue logger.info(use_case.response.data) + else: + raise AppException(use_case.response.errors) @Trackable diff --git a/src/superannotate/lib/core/usecases.py b/src/superannotate/lib/core/usecases.py index d04ff0837..6b7f044fc 100644 --- a/src/superannotate/lib/core/usecases.py +++ b/src/superannotate/lib/core/usecases.py @@ -4031,12 +4031,6 @@ def __init__( self._to_s3_bucket = to_s3_bucket self._temp_dir = None - def validate_project_type(self): - if self._project.project_type in constances.LIMITED_FUNCTIONS: - raise AppValidationException( - constances.LIMITED_FUNCTIONS[self._project.project_type] - ) - def upload_to_s3_from_folder(self, folder_path: str): to_s3_bucket = boto3.Session().resource("s3").Bucket(self._to_s3_bucket) files_to_upload = list(Path(folder_path).rglob("*.*")) diff --git a/tests/data_set/big_img/big.jpg b/tests/data_set/big_img/big.jpg new file mode 100644 index 000000000..8a6e67cec Binary files /dev/null and b/tests/data_set/big_img/big.jpg differ