Skip to content

Commit be90c94

Browse files
authoredMar 10, 2025
Fix num_thread parameter naming in docstring
Closes #7924
1 parent 80e53da commit be90c94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎dspy/primitives/program.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def batch(
9494
Processes a list of dspy.Example instances in parallel using the Parallel module.
9595
9696
:param examples: List of dspy.Example instances to process.
97-
:param batch_size: Number of threads to use for parallel processing.
97+
:param num_threads: Number of threads to use for parallel processing.
9898
:param max_errors: Maximum number of errors allowed before stopping execution.
9999
:param return_failed_examples: Whether to return failed examples and exceptions.
100100
:param provide_traceback: Whether to include traceback information in error logs.

0 commit comments

Comments
 (0)