python-graphql-client icon indicating copy to clipboard operation
python-graphql-client copied to clipboard

Retry on timeout

Open otmezger opened this issue 5 years ago • 1 comments

Hi, is there a native way to implement retry for specific errors? like timeouts?

thanks.

otmezger avatar Jan 13 '21 11:01 otmezger

You can pass timeout argument to GraphqlClient: self.client = GraphqlClient(endpoint=self.__SCHEMA, timeout=self.__MAX_REQUEST_TIMEOUT)

xOKBAx avatar Jan 17 '22 20:01 xOKBAx