Open Duoquote opened 1 month ago
Hi, I have the same problem too.
I think it is because of the following lines in the download function: https://github.com/HumanSignal/label-studio-sdk/blob/10ca9af14ecab53c4de553ba97c7a135da2d36f9/src/label_studio_sdk/projects/exports/client.py#L517-L518 The function should be returning the successful response instead.
My current workaround is to make the download request via the http client directly:
resp = ls._client_wrapper.httpx_client.request(
f"/api/projects/{PROJECT_ID}/exports/{export_task.id}/download",
method="GET",
params={"exportType": "YOLO"},
)
I have the following code:
And the value of data is
None
, I am testing it on notebook so I am sure the task is incompleted
state.