Bug: Applying filters to tasks.list doesn't work
label-studio-sdk version: 1.0.5, label studio version: 1.13.1 (Docker deployment)
When i try to apply a filter it always returns all the tasks not just the one i'm filtering for and no error is received
filters = Filters.create(Filters.AND, [Filters.item(Column.inner_id, Operator.EQUAL, Type.Number, Filters.value(1))])
task = ls.tasks.list(project=project_id, query={"filters": filters})
Please let me know if you need more information.
You need to supply a str for the query parameter. It should be query=json.dumps({"filters": filters}).
Hello,
I've got the same problem, @MmAaXx500 comment made is possible to fix this on my side. Maybe some example in the Docs might be useful.
@MmAaXx500 thank you very much :)
@MmAaXx500 Thank you!