We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4975646 commit eb770a9Copy full SHA for eb770a9
README.md
@@ -71,11 +71,11 @@ sample_transport=RequestsHTTPTransport(
71
headers={
72
"Content-type": "application/json",
73
},
74
- verify=False
+ verify=False,
75
+ retries=3,
76
)
77
78
client = Client(
- retries=3,
79
transport=sample_transport,
80
fetch_schema_from_transport=True,
81
gql/client.py
@@ -52,6 +52,12 @@ def __init__(
52
self.transport = transport
53
self.retries = retries
54
55
+ if self.retries:
56
+ log.warning(
57
+ "The retries parameter on the Client class is deprecated."
58
+ "You can pass it to the RequestsHTTPTransport."
59
+ )
60
+
61
def validate(self, document):
62
if not self.schema:
63
raise Exception(
0 commit comments