python-graphql-client
python-graphql-client copied to clipboard
Simple module for making requests to a graphQL server in python.
**Is your feature request related to a problem? Please describe.** Client need to upload files to the graphql backed server. **Describe the solution you'd like** Server implement graphql file upload...
I need help, so I'm connecting to a websocket with Python GraphQL Client. ``` ws = GraphqlClient(endpoint='wss://wax.dfuse.eosnation.io/graphql', headers=headers) asyncio.run(ws.subscribe(query=query, handle=callback, headers=headers)) ``` It's working flawlessly, the only issue is that,...
Based on https://github.com/iMicknl/python-tahoma-api/pull/36 ## What kind of change does this PR introduce? ## What is the current behavior? ## What is the new behavior? ## **Does this PR introduce a...
Could you please provide an example of how to call subscription using endpoint and the jwt authentication using email and api key . I am getting jwt token using resp...
insert_query_result = await self.graphql_client.execute_async(query=insert_query, File "/root/.cache/pypoetry/virtualenvs/maanger-py3.8/lib/python3.8/site-packages/python_graphql_client/graphql_client.py", line 76, in execute_async return await response.json() File "/root/.cache/pypoetry/virtualenvs/manager-py3.8/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 1097, in json raise ContentTypeError( aiohttp.client_exceptions.ContentTypeError: 0, message='Attempt to decode JSON with unexpected mimetype:...
**Is your feature request related to a problem? Please describe.** Currently result.raise_for_status() raises the error but I would like to deal with status codes later on rather than to get...
**Is your feature request related to a problem? Please describe.** Not an issue right now as we don't have many / any outside contributors, but something we should think about...
**Is your feature request related to a problem? Please describe.** We recently started using Mypy as a static type checker and realized that this library can cause type errors like...
## What kind of change does this PR introduce? Added support in requests.Session in order to solve https://github.com/prodigyeducation/python-graphql-client/issues/54 ## What is the current behavior? client.execute() calls to requests.post(), using a...
**Is your feature request related to a problem? Please describe.** I'm frustrated by the fact that I cannot use a custom request Session in this library. There are times I...