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

Method failed

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

Source from the content-addressed store, hash-verified

48
49 @staticmethod
50 def failed() -> "JobData":
51 return JobData(
52 status=JobStatus.Failed,
53 stime=now(),
54 qtime=now() - datetime.timedelta(seconds=1),
55 mtime=now() + datetime.timedelta(seconds=1),
56 exit_code=1,
57 )
58
59 status: JobStatus
60 qtime: Optional[datetime.datetime] = None

Calls 2

JobDataClass · 0.85
nowFunction · 0.70

Tested by 1