python-graphql-client
python-graphql-client copied to clipboard
Retry on timeout
Hi, is there a native way to implement retry for specific errors? like timeouts?
thanks.
You can pass timeout argument to GraphqlClient:
self.client = GraphqlClient(endpoint=self.__SCHEMA, timeout=self.__MAX_REQUEST_TIMEOUT)