OpenFreeEnergy/alchemiscale

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

オープン

#149 opened on 2023/06/20

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)Python (10 件のフォーク)auto 404
component-statestorecomponent-user-apicomponent-user-clientgood first issue

Repository metrics

Stars
 (35 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド