INNER CODE UNIT · TypeScript

getBatch

apache/kyuubi · kyuubi-server/web-ui/src/api/batch/index.ts:41

export function getBatch(batchId: string) {
  return request({
    url: `api/v1/batches/${batchId}`,
    method: 'get'
  }) as Promise<IBatch>
}

export function deleteBatch(batchId: string) {
  return request({
    url: `api/v1/batches/${batchId}`,
    method: 'delete'
  }) as Promise<ICloseBatchResponse>
}

export function getBatchLocalLog(batchId: string, from = 0, size = 1000) {
  return request({
    url: `api/v1/batches/${batchId}/localLog`,
    method: 'get',

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…