This commit is contained in:
parent
46fc27e040
commit
fc0af2d0d8
|
@ -18,7 +18,9 @@ async def get_author(author_id):
|
||||||
gql = {
|
gql = {
|
||||||
"query": query_type + " " + operation + " { " + query_name + " { " + query_fields + " } " + " }",
|
"query": query_type + " " + operation + " { " + query_name + " { " + query_fields + " } " + " }",
|
||||||
"operationName": operation,
|
"operationName": operation,
|
||||||
"variables": None,
|
"variables": {
|
||||||
|
"author_id": author_id
|
||||||
|
},
|
||||||
}
|
}
|
||||||
async with AsyncClient() as client:
|
async with AsyncClient() as client:
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user