subgrounds
subgrounds copied to clipboard
A Pythonic data access layer for applications querying data from The Graph Network.
**Describe the bug** Missing data due to Incorrect pagination. **To Reproduce** Steps to reproduce the behavior: Query any subgraph which has e.g. a "timestamp" and should return > 1800 entities....
## Description Create a special value `ALL` that can be used as the `first` argument in list queries to fetch all entities. ## Example ```python swaps = uniswapV2.Query.swaps( orderBy=uniswapV2.Swap.timestamp, orderDirection='desc',...
**Is your feature request related to a problem? Please describe.** A lot of times, what I want to perform when creating a synthetic field is to post-process the queried value...
**Is your feature request related to a problem? Please describe.** Yes. Currently, `SyntheticFields` must be explicitly added to a subgraph object. This works when synthetic fields do not need to...
**Is your feature request related to a problem? Please describe.** Yes. When constructing `FieldPaths` with arguments, any extra arguments (i.e.: arguments which don't exist in the subgraph schema) are silently...
## Description The Graph supports time-travel queries where one can optionally specify the block number at which query should be executed. This will execute the query against the state of...
## Description Given a subgrounds fieldpath(s) representing a list of entities, then it should be possible to wrap those fieldpaths in a timeseries which would normalize the data according to...
## Description Given a subgraph with a query field `entities` of type `[Entity!]!`, then `entities.first` and `entities.last` should produce a field path that represents the first and last of those...
## Description [Networkx](https://github.com/networkx/networkx) is a Python graph manipulation and visualization library which is supported by Dash/Plotly (see https://plotly.com/python/network-graphs/). Integrating networkx in Subgrounds could provide interesting visualization options which (correct me...
## Description Subgrounds should allow developers to query a single entity from an id. The query (and returned object) should only have scalar, non-list values. For nested fields returning non-scalar...