Skip to content

Commit

Permalink
Another type ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
multimeric committed Aug 14, 2024
1 parent d267c59 commit b94e4a2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion filesender/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,8 @@ async def _download_args() -> AsyncIterator[tuple[str, Any, Path]]:
yield token, file_id, out_dir

# Each file is downloaded in parallel
await stream.starmap(_download_args(), self.download_file, task_limit=self.concurrent_files)
# Pyright messes this up
await stream.starmap(_download_args(), self.download_file, task_limit=self.concurrent_files) # type: ignore

async def download_file(
self,
Expand Down

0 comments on commit b94e4a2

Please sign in to comment.