ersilia-os / ersilia

The Ersilia Model Hub, a repository of AI/ML models for infectious and neglected disease research.
https://ersilia.io
GNU General Public License v3.0
201 stars 128 forks source link

🐈 Task: Airtable to JSON conversion workflow should consume all the model records from Airtable #1209

Closed DhanshreeA closed 1 month ago

DhanshreeA commented 1 month ago

Summary

Airtable's listRecords API has a paginated response, with a max PageSize of 100, however we have a growing list of models in the model-hub and therefore a larger number of models than Airtable API's max PageSize. Our workflow to read from Airtable API and dump it into a public models.json in our S3 currently does not iterate over the paginated response from the API.

Objective(s)

Documentation

https://airtable.com/developers/web/api/list-records