We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is your feature request related to a problem? Please describe. I want type information when using subgraph and fieldpath objects.
Describe the solution you'd like Generating .pyi files for full type information, likely thru a CLI command in contrib.
.pyi
contrib
Describe alternatives you've considered
Additional context Likely would be a tall ordering and would only work on CLI or first time .load_subgraph is invoked.
.load_subgraph
Implementation checklist
The text was updated successfully, but these errors were encountered:
CC @Evan-Kim2028
Sorry, something went wrong.
I would also be interested in this - namely to auto-generate Python classes from a given subgraph after loading.
I'm trying this (without success)
$ UNISWAP_SUBGRAPH = 'https://api.thegraph.com/subgraphs/name/messari/aave-v2-ethereum' $ a = sg.load_subgraph(UNISWAP_SUBGRAPH, True)
Error:
raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
No branches or pull requests
Is your feature request related to a problem? Please describe.
I want type information when using subgraph and fieldpath objects.
Describe the solution you'd like
Generating
.pyi
files for full type information, likely thru a CLI command incontrib
.Describe alternatives you've considered
Additional context
Likely would be a tall ordering and would only work on CLI or first time
.load_subgraph
is invoked.Implementation checklist
The text was updated successfully, but these errors were encountered: