Client: run outputs

This commit is contained in:
2026-11-28 13:37:28 -06:00
parent 6732893bcc
commit b3e5a69783
3 changed files with 27 additions and 0 deletions
+2
View File
@@ -11,12 +11,14 @@ import { Run } from '../../models/run';
export interface RunStatus$Params {
run_id: string;
outputs?: boolean;
}
export function runStatus(http: HttpClient, rootUrl: string, params: RunStatus$Params, context?: HttpContext): Observable<StrictHttpResponse<Run>> {
const rb = new RequestBuilder(rootUrl, runStatus.PATH, 'get');
if (params) {
rb.path('run_id', params.run_id, {});
rb.query('outputs', params.outputs, {});
}
return http.request(
+3
View File
@@ -10,6 +10,9 @@ export interface Run {
id: string;
info: Array<string>;
job: string;
outputs?: ({
[key: string]: any;
} | null);
progress: (Progress | null);
started: (number | null);
state: 'queued' | 'running' | 'succeeded' | 'failed' | 'cancelling' | 'cancelled';