subgrounds
subgrounds copied to clipboard
`HTTPStatusError: Client error '410 Gone'` for example
Describe the bug
I am just learning about The Graph and subgrounds. The example in the README.md throws the following error:
HTTPStatusError: Client error '410 Gone' for url 'https://api.thegraph.com/subgraphs/name/messari/aave-v2-ethereum'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/410
To Reproduce Install subgrounds
python -m pip install subgrounds
Try to execute the example
from subgrounds import Subgrounds
sg = Subgrounds()
aave_v3 = sg.load_subgraph("https://api.thegraph.com/subgraphs/name/messari/aave-v3-ethereum")
>>> HTTPStatusError: Client error '410 Gone' for url 'https://api.thegraph.com/subgraphs/name/messari/aave-v2-ethereum'
>>> For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/410
Expected behavior No error
Desktop (please complete the following information):
- OS: Ubuntu 22.04
Python version (please complete the following information):
- 3.13