Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/superannotate/lib/app/interface/sdk_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 0 additions & 6 deletions src/superannotate/lib/core/usecases.py
Original file line number Diff line number Diff line change
Expand Up @@ -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("*.*"))
Expand Down
Binary file added tests/data_set/big_img/big.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.