thanks, is there a way to do it with the SDK ? maybe override the page size ?
managed a workaround thanks to the API doc, if someone encouters the same bug:tasks = [] page = 0 while True: page_tasks = Task._query_tasks(project_name=project, system_tags=[] if archived else ['-archived'], page=page, page_size=500) tasks += page_tasks page += 1 if len(page_tasks) < 500: break
Hi VirtuousFish83 ,
You can do it using the API directly tasks.get_all
is what you're looking for
https://clear.ml/docs/latest/docs/references/api/tasks#post-tasksget_all
Hi Mathis, actually, we fixed this in our latest SDK! you can use Task.query_tasks() and you'll get the id's of all the tasks that match the query. The reason we don't get task objects themselves is that it can be quite large and can take a long time.