bihealth / sodar-server

SODAR: System for Omics Data Access and Retrieval
https://github.com/bihealth/sodar-server
MIT License
14 stars 3 forks source link

Add pagination to ProjectIrodsFileListAPIView #1996

Open mikkonie opened 2 months ago

mikkonie commented 2 months ago

I left this out of #1994, as it requires a bit further effort and I have more critical things on my TODO list.

This view doesn't contain a queryset nor a serializer. It would be rather trivial to implement a generic paginator such as in this example. Alas, IrodsAPI.get_objects() doesn't currently provide functionality to limit the start of search results. Hence, we would need to query for the entire data set for every result regardless of pagination. Hence the spec below.

Spec

Tagging this for v1.1 for now.