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

Method _build

crates/pyhq/python/hyperqueue/job.py:156–160  ·  view source on GitHub ↗
(self, client)

Source from the content-addressed store, hash-verified

154 self.task_map[task.task_id] = task
155
156 def _build(self, client) -> JobDescription:
157 task_descriptions = []
158 for task in self.tasks:
159 task_descriptions.append(task._build(client))
160 return JobDescription(name=self.name, tasks=task_descriptions, max_fails=self.max_fails)
161
162
163@dataclasses.dataclass

Callers 1

submitMethod · 0.45

Calls 2

appendMethod · 0.80
JobDescriptionClass · 0.50

Tested by

no test coverage detected