Skip to content

Commit

Permalink
Ignore mypy error
Browse files Browse the repository at this point in the history
  • Loading branch information
Kludex committed Nov 18, 2024
1 parent 8dd240e commit db6ab69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion starlette/concurrency.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ async def run_in_threadpool(func: typing.Callable[P, T], *args: P.args, **kwargs
if kwargs: # pragma: no cover
# run_sync doesn't accept 'kwargs', so bind them in here
func = functools.partial(func, **kwargs)
return await anyio.to_thread.run_sync(func, *args)
return await anyio.to_thread.run_sync(func, *args) # type: ignore[call-arg]


class _StopIteration(Exception):
Expand Down

0 comments on commit db6ab69

Please sign in to comment.