Compare commits

..
1 Commits
Author SHA1 Message Date
YoursFunny 494fc50446 fix missing aexit 2024-06-20 15:29:30 +08:00
+3
View File
@@ -273,6 +273,9 @@ class Telegram:
async with TelegramTweet(self._httpx_client, self._url) as tweet:
return tweet
async def __aexit__(self, exc_type, exc_val, exc_tb):
pass
@classmethod
def init_client(cls) -> None:
cls._httpx_client = create_client()