From 4400d46f9fe520635c3848667b4a4f73af54116f Mon Sep 17 00:00:00 2001 From: Wilberto Morales Date: Tue, 10 Aug 2021 02:59:34 -0500 Subject: [PATCH] Fix variable_values spelling in docs --- docs/usage/file_upload.rst | 2 +- gql/transport/aiohttp.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/usage/file_upload.rst b/docs/usage/file_upload.rst index d5f07c50..18718e75 100644 --- a/docs/usage/file_upload.rst +++ b/docs/usage/file_upload.rst @@ -92,7 +92,7 @@ See `Streaming uploads on aiohttp docs`_. In order to stream local files, instead of providing opened files to the -`variables_values` argument of `execute`, you need to provide an async generator +`variable_values` argument of `execute`, you need to provide an async generator which will provide parts of the files. You can use `aiofiles`_ diff --git a/gql/transport/aiohttp.py b/gql/transport/aiohttp.py index 77a0c0c2..84679365 100644 --- a/gql/transport/aiohttp.py +++ b/gql/transport/aiohttp.py @@ -128,7 +128,7 @@ async def execute( :code:`execute` on a client or a session. :param document: the parsed GraphQL request - :param variables_values: An optional Dict of variable values + :param variable_values: An optional Dict of variable values :param operation_name: An optional Operation name for the request :param extra_args: additional arguments to send to the aiohttp post method :param upload_files: Set to True if you want to put files in the variable values