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

Method handle_cli_submit

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

Source from the content-addressed store, hash-verified

149 raise Exception(f"Input command {input} not handled")
150
151 async def handle_cli_submit(self, input: CommandInput) -> CommandOutput:
152 job_id = await self.handle_submit()
153 return self.adapter.format_submit_output(job_id)
154
155 async def handle_submit(self) -> JobId:
156 # By default, create a new job

Callers 1

handle_commandMethod · 0.95

Calls 2

handle_submitMethod · 0.95
format_submit_outputMethod · 0.45

Tested by

no test coverage detected