diff --git a/marketplaces/base.py b/marketplaces/base.py index 1d73d77..5e501cd 100644 --- a/marketplaces/base.py +++ b/marketplaces/base.py @@ -28,7 +28,6 @@ class BaseMarketplaceApi(ABC): async def _method(self, http_method: Literal['POST', 'GET', 'PATCH', 'PUT', 'DELETE'], method: str, data: dict) -> ClientResponse: - return async with aiohttp.ClientSession() as session: return await session.request(http_method, f'{self.api_url}{method}', diff --git a/test.py b/test.py index 27aed15..b8017b6 100644 --- a/test.py +++ b/test.py @@ -62,9 +62,9 @@ async def test(): start = time.time() await asyncio.gather(*[ test1(), - test2(), - test3(), - test4(), + # test2(), + # test3(), + # test4(), # test5(), # test6(), ])