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

Method handle_cli_delete

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

Source from the content-addressed store, hash-verified

171 return {job_id: self.jobs.get(job_id) for job_id in job_ids}
172
173 async def handle_cli_delete(self, input: CommandInput) -> CommandOutput:
174 assert len(input.arguments) == 1
175 await self.handle_delete(input.arguments[0])
176 return response()
177
178 async def handle_delete(self, job_id: JobId):
179 assert job_id in self.jobs

Callers 1

handle_commandMethod · 0.95

Calls 2

handle_deleteMethod · 0.95
responseFunction · 0.85

Tested by

no test coverage detected