Sg find limits

Hi guys,

I am wondering if is a way how to get a limit per given task id in one sg.find?"PublishedFile", filters=[["", "in", task_ids]], fields=["code", 'task'], limit=3)

So for now the limit is 3 for all tasks all together. The other way would be to each sg.find per task, but that could be a time consuming for the search, right?