v1.0
This commit is contained in:
@@ -28,7 +28,6 @@ class BaseMarketplaceApi(ABC):
|
|||||||
async def _method(self, http_method: Literal['POST', 'GET', 'PATCH', 'PUT', 'DELETE'],
|
async def _method(self, http_method: Literal['POST', 'GET', 'PATCH', 'PUT', 'DELETE'],
|
||||||
method: str,
|
method: str,
|
||||||
data: dict) -> ClientResponse:
|
data: dict) -> ClientResponse:
|
||||||
return
|
|
||||||
async with aiohttp.ClientSession() as session:
|
async with aiohttp.ClientSession() as session:
|
||||||
return await session.request(http_method,
|
return await session.request(http_method,
|
||||||
f'{self.api_url}{method}',
|
f'{self.api_url}{method}',
|
||||||
|
|||||||
Reference in New Issue
Block a user