OpenFreeEnergy/alchemiscale
Add `limit` and `skip` to all `AlchemiscaleClient.query_*` methods
Open
#149 opened on Jun 20, 2023
component-statestorecomponent-user-apicomponent-user-clientgood first issue
Repository metrics
- Stars
- (35 stars)
- PR merge metrics
- (PR metrics pending)
Description
We currently do not implement limit and skip kwargs on AlchemiscaleClient.query_* methods. These will be needed for users querying a large database, as we do not want an arbitrarily-large number of returned results.
The default for limit should be set to e.g. ~1000 as a client-side parameter, with some configurable upper bound set on query API endpoints. The default for skip should be 0.