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

Method running

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

Source from the content-addressed store, hash-verified

22class JobData:
23 @staticmethod
24 def running() -> "JobData":
25 return JobData(
26 status=JobStatus.Running,
27 stime=now(),
28 qtime=now() - datetime.timedelta(seconds=1),
29 mtime=now(),
30 )
31
32 @staticmethod
33 def queued() -> "JobData":

Callers 1

add_workerMethod · 0.45

Calls 2

JobDataClass · 0.85
nowFunction · 0.70

Tested by

no test coverage detected