mirror of
https://github.com/creyD/creyPY.git
synced 2026-04-13 20:00:30 +02:00
Adjusted files for isort & autopep
This commit is contained in:
committed by
github-actions[bot]
parent
93c7f6f6cb
commit
f8b781b3e7
@@ -3,8 +3,10 @@ from httpx import ASGITransport, AsyncClient
|
||||
|
||||
|
||||
class AsyncGenericClient:
|
||||
def __init__(self, app, headers = {}):
|
||||
self.c = AsyncClient(transport=ASGITransport(app=app), base_url="http://testserver", follow_redirects=True)
|
||||
def __init__(self, app, headers={}):
|
||||
self.c = AsyncClient(
|
||||
transport=ASGITransport(app=app), base_url="http://testserver", follow_redirects=True
|
||||
)
|
||||
self.default_headers = headers
|
||||
|
||||
async def get(self, url: str, r_code: int = 200, parse_json=True):
|
||||
|
||||
Reference in New Issue
Block a user