0xPlaygrounds / 0xPlaygrounds/subgrounds
Shorthand to query all entities
- Lingua principale
- Python
- Stelle
- 73
- Fork
- 12
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
**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*
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- graphql, python
- Ambito
- api, backend
- Tipo di issue
- Funzionalità
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Specificata chiaramente
- Idoneità per principianti
- 45/100