Merge P3.7 into P3.5 for one combined gate
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
/* eslint-disable */
|
||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
||||
|
||||
import { HttpClient, HttpContext, HttpResponse } from '@angular/common/http';
|
||||
import { Observable } from 'rxjs';
|
||||
import { filter, map } from 'rxjs/operators';
|
||||
import { StrictHttpResponse } from '../../strict-http-response';
|
||||
import { RequestBuilder } from '../../request-builder';
|
||||
|
||||
import { Domain } from '../../models/domain';
|
||||
import { TrainingConfig } from '../../models/training-config';
|
||||
|
||||
export interface TrainingConfig$Params {
|
||||
domain: Domain;
|
||||
name: string;
|
||||
}
|
||||
|
||||
export function trainingConfig(http: HttpClient, rootUrl: string, params: TrainingConfig$Params, context?: HttpContext): Observable<StrictHttpResponse<TrainingConfig>> {
|
||||
const rb = new RequestBuilder(rootUrl, trainingConfig.PATH, 'get');
|
||||
if (params) {
|
||||
rb.path('domain', params.domain, {});
|
||||
rb.path('name', params.name, {});
|
||||
}
|
||||
|
||||
return http.request(
|
||||
rb.build({ responseType: 'json', accept: 'application/json', context })
|
||||
).pipe(
|
||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
||||
map((r: HttpResponse<any>) => {
|
||||
return r as StrictHttpResponse<TrainingConfig>;
|
||||
})
|
||||
);
|
||||
}
|
||||
|
||||
trainingConfig.PATH = '/models/{domain}/{name}/training-config';
|
||||
@@ -45,6 +45,8 @@ export type { Score$Params as Score$Params } from './fn/models/score';
|
||||
export { score as score } from './fn/models/score';
|
||||
export type { Train$Params as Train$Params } from './fn/models/train';
|
||||
export { train as train } from './fn/models/train';
|
||||
export type { TrainingConfig$Params as TrainingConfig$Params } from './fn/models/training-config';
|
||||
export { trainingConfig as trainingConfig } from './fn/models/training-config';
|
||||
export type { Versions$Params as Versions$Params } from './fn/models/versions';
|
||||
export { versions as versions } from './fn/models/versions';
|
||||
export type { Promote$Params as Promote$Params } from './fn/models/promote';
|
||||
|
||||
@@ -27,6 +27,7 @@ export type { Pipeline } from './models/pipeline';
|
||||
export type { Position } from './models/position';
|
||||
export type { Progress } from './models/progress';
|
||||
export type { Read } from './models/read';
|
||||
export type { Reference } from './models/reference';
|
||||
export type { Rejection } from './models/rejection';
|
||||
export type { Route } from './models/route';
|
||||
export type { Run } from './models/run';
|
||||
@@ -41,6 +42,7 @@ export type { Study } from './models/study';
|
||||
export type { Target } from './models/target';
|
||||
export type { Tasks } from './models/tasks';
|
||||
export type { Training } from './models/training';
|
||||
export type { TrainingConfig } from './models/training-config';
|
||||
export type { ValidationError } from './models/validation-error';
|
||||
export type { Version } from './models/version';
|
||||
export type { Worker } from './models/worker';
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
/* eslint-disable */
|
||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
||||
|
||||
export interface Reference {
|
||||
line_hz?: 50 | 60;
|
||||
|
||||
/**
|
||||
* Carpeta dentro de TEA_REFERENCE_ROOT con los EDF y edades.csv
|
||||
*/
|
||||
name: string;
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
/* eslint-disable */
|
||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
||||
|
||||
export interface TrainingConfig {
|
||||
defaults: {
|
||||
[key: string]: any;
|
||||
};
|
||||
domain: string;
|
||||
json_schema: {
|
||||
[key: string]: any;
|
||||
};
|
||||
name: string;
|
||||
}
|
||||
@@ -2,8 +2,14 @@
|
||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
||||
|
||||
import { Execution } from '../models/execution';
|
||||
import { Reference } from '../models/reference';
|
||||
export interface Training {
|
||||
|
||||
/**
|
||||
* Fecha de corte de los datos (por omisión, hoy)
|
||||
*/
|
||||
as_of?: (string | null);
|
||||
execution?: (Execution | null);
|
||||
models?: Array<string>;
|
||||
reference?: (Reference | null);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user