Closed rohitghatol closed 5 years ago
data = client.execute(query,variables) result = json.loads(data) Can client.execute() return json instead of string?
data = client.execute(query,variables)
result = json.loads(data)
It would be a breaking change to implement this request. It's best you just run json_res = json.loads(result) to convert the output. If you inspect the type it will return a dict as you desire.
json_res = json.loads(result)
data = client.execute(query,variables)
result = json.loads(data)
Can client.execute() return json instead of string?