Skip to content

Commit 2ecbe0f

Browse files
author
Val Brodsky
committed
Update rdoc
1 parent 83eadf2 commit 2ecbe0f

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

libs/labelbox/src/labelbox/client.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,14 +179,21 @@ def execute(
179179
180180
Args:
181181
query (str): The query to execute.
182-
variables (dict): Variables to pass to the query.
182+
params (dict): Variables to pass to the query.
183+
data (dict): Includes the query and variables as well as the map for file upload multipart/form-data requests as per GraphQL multipart request specification.
184+
files (dict): File descriptors to pass to the query for file upload multipart/form-data requests.
185+
timeout (float): Timeout for the request.
186+
experimental (bool): Whether to use experimental features.
187+
error_log_key (str): Key to use for error logging.
183188
raise_return_resource_not_found (bool): If True, raise a
184189
ResourceNotFoundError if the query returns None.
185190
error_handlers (dict): A dictionary mapping graphql error code to handler functions.
186191
Allows a caller to handle specific errors reporting in a custom way or produce more user-friendly readable messages
187192
188193
Returns:
189194
dict: The response from the server.
195+
196+
See UserGroupV2.upload_members for an example of how to use this method for file upload.
190197
"""
191198
return self._request_client.execute(
192199
query,

0 commit comments

Comments
 (0)