MCPcopy Create free account
hub / github.com/It4innovations/hyperqueue / finished

Method finished

tests/autoalloc/mock/manager.py:40–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38
39 @staticmethod
40 def finished() -> "JobData":
41 return JobData(
42 status=JobStatus.Finished,
43 stime=now(),
44 qtime=now() - datetime.timedelta(seconds=1),
45 mtime=now() + datetime.timedelta(seconds=1),
46 exit_code=0,
47 )
48
49 @staticmethod
50 def failed() -> "JobData":

Calls 2

JobDataClass · 0.85
nowFunction · 0.70