label-studio-sdk icon indicating copy to clipboard operation
label-studio-sdk copied to clipboard

Issue with project.export_tasks() ids parameter

Open Vr1llon opened this issue 1 year ago • 1 comments

sdk 0.0.32 python 3.11.7

Running:

project.export_tasks(ids=[23])

SDK exports all my labeled tasks, not the task ID 23. I tried a couple of different parameter combinations, but the result is always the same:

project.export_tasks(ids=[105, 111], download_all_tasks=False)`
project.export_tasks(
    export_type="CONLL2003",
    ids=dev_ids,
    export_location="../models/second_version/data/dev.conll",
    
)

Vr1llon avatar Mar 24 '24 10:03 Vr1llon

I have been having the same issue for a few months now (https://github.com/HumanSignal/label-studio/issues/5179). A fix/explanation would be very much appreciated, since I am currently downloading everything and removing the tasks I don't want using additional code

CharalamposGeorgiadis avatar Apr 13 '24 12:04 CharalamposGeorgiadis