OpenFreeEnergy/alchemiscale

Add `limit` and `skip` to all `AlchemiscaleClient.query_*` methods

开放

#149 创建于 2023年6月20日

 (0 条评论) (0 个反应) (0 位负责人)Python (10 个派生)auto 404
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.

贡献者指南