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

Method handle_cli_status

tests/autoalloc/mock/manager.py:165–168  ·  view source on GitHub ↗
(self, input: CommandInput)

Source from the content-addressed store, hash-verified

163 return job_id
164
165 async def handle_cli_status(self, input: CommandInput) -> CommandOutput:
166 job_ids = self.adapter.parse_status_job_ids(input)
167 job_data = await self.handle_status(job_ids)
168 return self.adapter.format_status_output(job_data)
169
170 async def handle_status(self, job_ids: List[JobId]) -> Dict[JobId, Optional[JobData]]:
171 return {job_id: self.jobs.get(job_id) for job_id in job_ids}

Callers 1

handle_commandMethod · 0.95

Calls 3

handle_statusMethod · 0.95
parse_status_job_idsMethod · 0.45
format_status_outputMethod · 0.45

Tested by

no test coverage detected