Add experimental support for async sessions (#4667)

There no plans for this to ever be non-experimental in v1.
This commit is contained in:
Humberto Gontijo
2025-07-28 17:03:31 +02:00
committed by GitHub
parent 45a546a675
commit d80898ecc5
7 changed files with 75 additions and 46 deletions
+1 -1
View File
@@ -552,7 +552,7 @@ class AuthMethods:
self._authorized = False
await self.disconnect()
self.session.delete()
await utils.maybe_async(self.session.delete())
self.session = None
return True