Hi, I am using graphql api to query prefect databa...
# prefect-community
p
Hi, I am using graphql api to query prefect database but getting timeout exception.
Copy code
requests.exceptions.ReadTimeout: HTTPConnectionPool(host='localhost', port=4200): Read timed out. (read timeout=15)
How can I change or configure this timeout ? Also we're running this query for our locally hosted prefect (prefect 1.0)
Copy code
def readDatabase(query: dict) -> None:
    client = prefect.Client()
    data = client.graphql(query)
1
j
See this discourse topic showing how.