remove excessive constraint from Job model
@@ -47,8 +47,6 @@ class Job(CRUDModel, Base): # type: ignore
def check_assertions(self):
if self.stop_at is not None and self.start_at is not None:
assert self.stop_at >= self.start_at, 'Time of the end must happen after the start!'
- if self.stop_at is not None:
- assert self.start_at is not None, 'If stop time of the job is known, start time has to be known too'
@hybrid_property
def tasks(self):
