This commit is contained in:
dj
2023-09-24 14:06:00 +03:00
parent 93533171d0
commit 38fb4603e9
+5
View File
@@ -4,6 +4,11 @@ from typing import Optional
import aiohttp
# In handler
# session = await rSession.get_session()
# response = await session.get(...)
# response = await session.post(...)
# Асинхронная сессия для запросов
class RequestSession:
def __init__(self) -> None: