Skip to content
Merged
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
4 changes: 1 addition & 3 deletions labellerr/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ def get_direct_upload_url(self, file_name, client_id, purpose='pre-annotations')
tracking_id = str(uuid.uuid4())
logging.exception(f"Error getting direct upload url: {response.text}")
raise LabellerrError({
'status': 'Internal server error',
'status': 'Internal server error',
'message': 'Please contact support with the request tracking id',
'request_id': tracking_id
Expand Down Expand Up @@ -975,9 +976,6 @@ def check_export_status(self, api_key, api_secret, project_id, report_ids, clien
export_id=status_item["report_id"],
client_id=client_id
)

# Add download URL to response
status_item["url"] = download_url

return json.dumps(result, indent=2)

Expand Down