precommit
This commit is contained in:
@@ -9,6 +9,7 @@ headers = {"Content-Type": "application/json"}
|
||||
|
||||
# TODO: rewrite to orm usage?
|
||||
|
||||
|
||||
async def _request_endpoint(query_name, body) -> Any:
|
||||
async with aiohttp.ClientSession() as session:
|
||||
async with session.post(API_BASE, headers=headers, json=body) as response:
|
||||
|
Reference in New Issue
Block a user