I have some tasks labeled as Draft True as in the image below. How to make them to False? And why this happened.
I couldn’t find any documentation about draft.
I have some tasks labeled as Draft True as in the image below. How to make them to False? And why this happened.
I couldn’t find any documentation about draft.
You have to click the Submit button when you editing your annotations.
that I what I did. several times and still in draft.
I thought this could be a user issue. so I did submit by all users.
It should be done on behalf of all users who worked on tasks
Then it is not working.
Run:
label-studio shell
In the shell:
drafts = AnnotationDraft.objects.filter(task__project=<your-project-id>)
for draft in drafts:
print(draft.task, draft.user)
This way you will see all tasks and drafts that your users haven’t submitted.
I can see them already using the browser. the field in my images already shows that.
Why would I need to check using the shell? Is it also possible to do it using the API ?
No, api doesn’t support it.
I run the code and it actually gave my the tasks that I already know that they are in draft as I can see in the browser. it only gave me the user.
So I used the same user for one task I did update and it is still in draft