Skip to content

Commit 49e6193

Browse files
committed
Remove type hint in doc-string in BaseRunner
1 parent f63c92b commit 49e6193

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

adaptive/runner.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ class BaseRunner(metaclass=abc.ABCMeta):
105105
Parameters
106106
----------
107107
learner
108+
The learner that will be used to run.
108109
goal
109110
The end condition for the calculation. This function must take
110111
the learner as its sole argument, and return True when we should
@@ -125,9 +126,7 @@ class BaseRunner(metaclass=abc.ABCMeta):
125126
calculation. Stop when the current time is larger or equal than
126127
``start_time + duration_goal``. ``duration_goal`` can be a number
127128
indicating the number of seconds.
128-
executor : `concurrent.futures.Executor`, `distributed.Client`,\
129-
`mpi4py.futures.MPIPoolExecutor`, `ipyparallel.Client` or\
130-
`loky.get_reusable_executor`, optional
129+
executor
131130
The executor in which to evaluate the function to be learned.
132131
If not provided, a new `~concurrent.futures.ProcessPoolExecutor` on
133132
Linux, and a `loky.get_reusable_executor` on MacOS and Windows.

0 commit comments

Comments
 (0)