We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60d211f commit 4a3cda6Copy full SHA for 4a3cda6
code_submitter/auth.py
@@ -104,7 +104,11 @@ def __init__(
104
url: str,
105
verify: bool = True,
106
) -> None:
107
- self.client = httpx.AsyncClient(base_url=url, app=app, verify=verify)
+ self.client = httpx.AsyncClient(
108
+ base_url=url,
109
+ transport=httpx.ASGITransport(app=app) if app is not None else None,
110
+ verify=verify,
111
+ )
112
113
async def load_user(self, username: str, password: str) -> NemesisUserInfo:
114
async with self.client as client:
requirements.in
@@ -4,6 +4,6 @@ python-multipart
4
databases[sqlite]
5
sqlalchemy>=1.4,<2
6
alembic
7
-httpx
+httpx>=0.27
8
pyyaml
9
typing-extensions
0 commit comments