nih-sparc / sparc.client

Python client for NIH SPARC
https://docs.sparc.science/docs/sparc-python-client
Apache License 2.0
0 stars 8 forks source link

list_files does not inform the receiver on the total number of files available for pagination #39

Open hsorby opened 3 months ago

hsorby commented 3 months ago

The Pennsieve client offers a list_files API but no way to know how many items in total are available. How is a user meant to offer pagination without this information?

Also, the documentation says Max number of datasets returned. for the limit parameter, is this correct? Or is it the maximum number of files returned?