@@ -113,6 +113,8 @@ class BaseRunner(metaclass=abc.ABCMeta):
113
113
the point is present in ``runner.failed``.
114
114
raise_if_retries_exceeded : bool, default: True
115
115
Raise the error after a point ``x`` failed `retries`.
116
+ allow_running_forever : bool, default: False
117
+ Allow the runner to run forever when the goal is None.
116
118
117
119
Attributes
118
120
----------
@@ -436,6 +438,8 @@ def __init__(
436
438
goal = goal ,
437
439
loss_goal = loss_goal ,
438
440
npoints_goal = npoints_goal ,
441
+ datetime_goal = datetime_goal ,
442
+ timedelta_goal = timedelta_goal ,
439
443
executor = executor ,
440
444
ntasks = ntasks ,
441
445
log = log ,
@@ -531,6 +535,8 @@ class AsyncRunner(BaseRunner):
531
535
the point is present in ``runner.failed``.
532
536
raise_if_retries_exceeded : bool, default: True
533
537
Raise the error after a point ``x`` failed `retries`.
538
+ allow_running_forever : bool, default: True
539
+ If True, the runner will run forever if the goal is not provided.
534
540
535
541
Attributes
536
542
----------
@@ -606,6 +612,8 @@ def __init__(
606
612
goal = goal ,
607
613
loss_goal = loss_goal ,
608
614
npoints_goal = npoints_goal ,
615
+ datetime_goal = datetime_goal ,
616
+ timedelta_goal = timedelta_goal ,
609
617
executor = executor ,
610
618
ntasks = ntasks ,
611
619
log = log ,
0 commit comments