OpenFreeEnergy/alchemiscale
Add `limit` and `skip` to all `AlchemiscaleClient.query_*` methods
开放
#149 创建于 2023年6月20日
component-statestorecomponent-user-apicomponent-user-clientgood first issue
仓库指标
- 星标
- (35 个星标)
- PR 合并指标
- (PR 指标待抓取)
描述
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.