Commit ff954ae3 authored by Jonas Kaufmann's avatar Jonas Kaufmann Committed by Antoine Kaufmann
Browse files

None instead of 0 as default value for experiment timeout

parent 530eac0c
......@@ -44,13 +44,13 @@ class Experiment(object):
the experiment.
"""
def __init__(self, name: str, timeout: int = 0):
def __init__(self, name: str):
self.name = name
"""
This experiment's name. Can be used to filter multiple experiments to be
run.
"""
self.timeout = timeout
self.timeout: tp.Optional[int] = None
"""Timeout for experiment in seconds."""
self.checkpoint = False
"""Whether to use checkpoints in experiment.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment