We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7d8150 commit 87a56ceCopy full SHA for 87a56ce
gql/client.py
@@ -46,7 +46,7 @@ def __init__(
46
type_def: Optional[str] = None,
47
transport: Optional[Union[Transport, AsyncTransport]] = None,
48
fetch_schema_from_transport: bool = False,
49
- execute_timeout: Optional[int] = 10,
+ execute_timeout: Optional[Union[int, float]] = 10,
50
):
51
"""Initialize the client with the given parameters.
52
@@ -57,6 +57,7 @@ def __init__(
57
the schema from the transport using an introspection query
58
:param execute_timeout: The maximum time in seconds for the execution of a
59
request before a TimeoutError is raised. Only used for async transports.
60
+ Passing None results in waiting forever for a response.
61
"""
62
assert not (
63
type_def and introspection
0 commit comments