HumanSignal / label-studio-sdk

Label Studio SDK
https://api.labelstud.io
Apache License 2.0
96 stars 59 forks source link

Issue with project.export_tasks() ids parameter #199

Open Vr1llon opened 7 months ago

Vr1llon commented 7 months ago

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",

)
CharalamposGeorgiadis commented 6 months ago

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