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.

貢獻者指南