MCPcopy
hub / github.com/iterative/cml / parseRunner

Method parseRunner

src/drivers/github.js:412–421  ·  view source on GitHub ↗
(runner)

Source from the content-addressed store, hash-verified

410 }
411
412 parseRunner(runner) {
413 const { id, name, busy, status, labels } = runner;
414 return {
415 id,
416 name,
417 labels: labels.map(({ name }) => name),
418 online: status === 'online',
419 busy
420 };
421 }
422
423 async prCreate(opts = {}) {
424 const {

Callers 2

runnersMethod · 0.95
runnerByIdMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected