mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
refactor(generic):
get rid of generic behaviour for base session
This commit is contained in:
parent
69b24c6203
commit
2d03285e88
4 changed files with 13 additions and 15 deletions
|
|
@ -1,6 +1,5 @@
|
|||
import datetime
|
||||
import types
|
||||
from typing import Any, AsyncContextManager, AsyncGenerator
|
||||
from typing import AsyncContextManager, AsyncGenerator
|
||||
|
||||
import pytest
|
||||
|
||||
|
|
@ -14,7 +13,7 @@ except ImportError:
|
|||
from unittest.mock import AsyncMock as CoroutineMock, patch # type: ignore
|
||||
|
||||
|
||||
class CustomSession(BaseSession[Any]):
|
||||
class CustomSession(BaseSession):
|
||||
async def close(self):
|
||||
pass
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue