0xPlaygrounds / 0xPlaygrounds/subgrounds

Shorthand to query all entities

オープン
#9 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement
主要言語
Python
スター
73
フォーク
12
PR マージ指標
30日以内にマージされた PR はありません

説明

**Is your feature request related to a problem? Please describe.**
## Description
Create a special value `ALL` that can be used as the `first` argument in list queries to fetch all entities.

**Describe the solution you'd like**
## Example
```python
swaps = uniswapV2.Query.swaps(
orderBy=uniswapV2.Swap.timestamp,
orderDirection='desc',
first=ALL
)
```

*Originally from: cvauclair*

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Look at the query building logic in subgrounds, likely in a module like query.py or client.py. Understand how the 'first' argument is currently handled and parsed. The change involves adding a special constant (like ALL) that bypasses the typical pagination limit. Check existing tests for query construction to see how to add this feature and ensure it integrates with the GraphQL request generation.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
graphql, python
領域
api, backend
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
明確に書かれている
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。