diff --git a/labellerr/client.py b/labellerr/client.py index 29a098a..b92024a 100644 --- a/labellerr/client.py +++ b/labellerr/client.py @@ -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 @@ -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)