Skip to content

Commit

Permalink
download: remove useless method
Browse files Browse the repository at this point in the history
  • Loading branch information
nim65s committed Oct 30, 2023
1 parent 92c0927 commit 2d299da
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions happypose/toolbox/utils/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,11 +322,6 @@ async def aclose(self):
await asyncio.gather(*list(self.task_set))
await self.client.aclose()

@classmethod
async def run(cls, download_path, local_path, flags):
async with cls() as dl_client:
await dl_client.adownload(download_path, local_path, flags)

def create_task(self, awaitable):
task = asyncio.create_task(awaitable)
self.task_set.add(task)
Expand Down

0 comments on commit 2d299da

Please sign in to comment.