Skip to content

Commit 1b30d90

Browse files
committed
Describe missing parameters in docstring
1 parent 440e44b commit 1b30d90

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/docbuild/utils/concurrency.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,8 @@ async def run_parallel[T, R, **P](
177177
:param limit: Maximum number of concurrent workers. Must be >= 1.
178178
Higher values increase throughput up to the point where the event
179179
loop, network, or downstream service becomes the bottleneck.
180+
:param worker_args: Positional arguments to pass to ``worker_fn``.
181+
:param worker_kwargs: Keyword arguments to pass to ``worker_fn``.
180182
:raises ValueError: If ``limit`` is less than 1.
181183
:yields: Results in completion order (not input order). Failed items
182184
are yielded as :class:`TaskFailedError` instances rather than

0 commit comments

Comments
 (0)