diff --git a/src/leonardo_api/leonardo_async.py b/src/leonardo_api/leonardo_async.py index de7cb7f..875e9ac 100644 --- a/src/leonardo_api/leonardo_async.py +++ b/src/leonardo_api/leonardo_async.py @@ -17,9 +17,9 @@ import os from typing import Optional +import asyncio import aiofiles import aiohttp -import asyncio from .logger_config import setup_logger @@ -286,7 +286,7 @@ async def get_generations_by_user(self, user_id: str, offset: int = 0, limit: in await session.close() raise error - async def upload_init_image(self, file_path: str): + async def upload_init_image(self, file_path: str): # pylint: disable=too-many-locals """ This endpoint returns pre-signed details to upload an init image to S3.