Implement requested change

This commit is contained in:
Steffen Siebert
2024-09-07 22:09:15 +02:00
committed by GitHub
parent 501f875c63
commit a6ba9ef25a

View File

@@ -107,8 +107,7 @@ class HttpSession(Closable):
if isinstance(auth, tuple):
kwargs["auth"] = BasicAuth(auth[0], auth[1])
else:
if auth:
kwargs.pop("auth")
kwargs.pop("auth", None)
options = cast(_AiohttpRequestOptions, kwargs)
async with await session.request(