refactor(generic):

get rid of generic behaviour for base session
This commit is contained in:
mpa 2020-05-02 16:55:50 +04:00
parent 69b24c6203
commit 2d03285e88
4 changed files with 13 additions and 15 deletions

View file

@ -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