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