diff --git a/gql/client.py b/gql/client.py index 93c1078c..eec79b8d 100644 --- a/gql/client.py +++ b/gql/client.py @@ -1921,6 +1921,7 @@ def __init__( self._reconnect_request_event = asyncio.Event() self._connected_event = asyncio.Event() + self.retry_connect: _Decorator if retry_connect is True: # By default, retry again and again, with maximum 60 seconds # between retries @@ -1934,6 +1935,7 @@ def __init__( assert callable(retry_connect) self.retry_connect = retry_connect + self.retry_execute: _Decorator if retry_execute is True: # By default, retry 5 times, except if we receive a TransportQueryError self.retry_execute = retry(