mirror of
https://github.com/creyD/creyPY.git
synced 2026-04-16 05:10:31 +02:00
Adjusted files for isort & autopep
This commit is contained in:
committed by
github-actions[bot]
parent
523241ac4b
commit
17f96c920d
@@ -36,7 +36,9 @@ class AsyncGenericClient:
|
|||||||
assert r_code == re.status_code
|
assert r_code == re.status_code
|
||||||
return re.json() if not raw_response else re
|
return re.json() if not raw_response else re
|
||||||
|
|
||||||
async def post_file(self, url: str, file, r_code: int = 201, raw_response=False, *args, **kwargs):
|
async def post_file(
|
||||||
|
self, url: str, file, r_code: int = 201, raw_response=False, *args, **kwargs
|
||||||
|
):
|
||||||
re = await self.c.post(
|
re = await self.c.post(
|
||||||
url,
|
url,
|
||||||
files={"file": file},
|
files={"file": file},
|
||||||
|
|||||||
Reference in New Issue
Block a user