Merge P3.7 into P3.5 for one combined gate

This commit is contained in:
2026-11-28 16:31:56 -06:00
7 changed files with 189 additions and 4 deletions
+120 -4
View File
@@ -321,7 +321,7 @@
"type": "null" "type": "null"
} }
], ],
"title": "Mode" "title": "Modo"
}, },
"scheduler": { "scheduler": {
"anyOf": [ "anyOf": [
@@ -332,10 +332,10 @@
"type": "null" "type": "null"
} }
], ],
"title": "Scheduler" "title": "Planificador Dask"
} }
}, },
"title": "Execution", "title": "Ejecuci\u00f3n",
"type": "object" "type": "object"
}, },
"Extract": { "Extract": {
@@ -1266,6 +1266,31 @@
"title": "Read", "title": "Read",
"type": "object" "type": "object"
}, },
"Reference": {
"additionalProperties": false,
"properties": {
"line_hz": {
"default": 50,
"enum": [
50,
60
],
"title": "Frecuencia de la red el\u00e9ctrica (Hz)",
"type": "integer"
},
"name": {
"description": "Carpeta dentro de TEA_REFERENCE_ROOT con los EDF y edades.csv",
"pattern": "^[A-Za-z0-9._-]{1,64}$",
"title": "Cohorte de referencia",
"type": "string"
}
},
"required": [
"name"
],
"title": "Reference",
"type": "object"
},
"Rejection": { "Rejection": {
"properties": { "properties": {
"entity": { "entity": {
@@ -1959,7 +1984,8 @@
"type": "null" "type": "null"
} }
], ],
"title": "As Of" "description": "Fecha de corte de los datos (por omisi\u00f3n, hoy)",
"title": "Datos hasta"
}, },
"execution": { "execution": {
"anyOf": [ "anyOf": [
@@ -1978,11 +2004,51 @@
}, },
"title": "Models", "title": "Models",
"type": "array" "type": "array"
},
"reference": {
"anyOf": [
{
"$ref": "#/components/schemas/Reference"
},
{
"type": "null"
}
]
} }
}, },
"title": "Training", "title": "Training",
"type": "object" "type": "object"
}, },
"TrainingConfig": {
"properties": {
"defaults": {
"additionalProperties": true,
"title": "Defaults",
"type": "object"
},
"domain": {
"title": "Domain",
"type": "string"
},
"json_schema": {
"additionalProperties": true,
"title": "Json Schema",
"type": "object"
},
"name": {
"title": "Name",
"type": "string"
}
},
"required": [
"domain",
"name",
"json_schema",
"defaults"
],
"title": "TrainingConfig",
"type": "object"
},
"ValidationError": { "ValidationError": {
"properties": { "properties": {
"ctx": { "ctx": {
@@ -3202,6 +3268,56 @@
] ]
} }
}, },
"/models/{domain}/{name}/training-config": {
"get": {
"operationId": "training_config",
"parameters": [
{
"in": "path",
"name": "domain",
"required": true,
"schema": {
"$ref": "#/components/schemas/Domain"
}
},
{
"in": "path",
"name": "name",
"required": true,
"schema": {
"title": "Name",
"type": "string"
}
}
],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/TrainingConfig"
}
}
},
"description": "Successful Response"
},
"422": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
},
"description": "Validation Error"
}
},
"summary": "Training Config",
"tags": [
"models"
]
}
},
"/models/{domain}/{name}/versions": { "/models/{domain}/{name}/versions": {
"get": { "get": {
"operationId": "versions", "operationId": "versions",
+35
View File
@@ -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';
+2
View File
@@ -45,6 +45,8 @@ export type { Score$Params as Score$Params } from './fn/models/score';
export { score as score } from './fn/models/score'; export { score as score } from './fn/models/score';
export type { Train$Params as Train$Params } from './fn/models/train'; export type { Train$Params as Train$Params } from './fn/models/train';
export { train as train } 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 type { Versions$Params as Versions$Params } from './fn/models/versions';
export { versions as versions } from './fn/models/versions'; export { versions as versions } from './fn/models/versions';
export type { Promote$Params as Promote$Params } from './fn/models/promote'; export type { Promote$Params as Promote$Params } from './fn/models/promote';
+2
View File
@@ -27,6 +27,7 @@ export type { Pipeline } from './models/pipeline';
export type { Position } from './models/position'; export type { Position } from './models/position';
export type { Progress } from './models/progress'; export type { Progress } from './models/progress';
export type { Read } from './models/read'; export type { Read } from './models/read';
export type { Reference } from './models/reference';
export type { Rejection } from './models/rejection'; export type { Rejection } from './models/rejection';
export type { Route } from './models/route'; export type { Route } from './models/route';
export type { Run } from './models/run'; export type { Run } from './models/run';
@@ -41,6 +42,7 @@ export type { Study } from './models/study';
export type { Target } from './models/target'; export type { Target } from './models/target';
export type { Tasks } from './models/tasks'; export type { Tasks } from './models/tasks';
export type { Training } from './models/training'; export type { Training } from './models/training';
export type { TrainingConfig } from './models/training-config';
export type { ValidationError } from './models/validation-error'; export type { ValidationError } from './models/validation-error';
export type { Version } from './models/version'; export type { Version } from './models/version';
export type { Worker } from './models/worker'; export type { Worker } from './models/worker';
+11
View File
@@ -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;
}
+13
View File
@@ -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;
}
+6
View File
@@ -2,8 +2,14 @@
/* Code generated by ng-openapi-gen DO NOT EDIT. */ /* Code generated by ng-openapi-gen DO NOT EDIT. */
import { Execution } from '../models/execution'; import { Execution } from '../models/execution';
import { Reference } from '../models/reference';
export interface Training { export interface Training {
/**
* Fecha de corte de los datos (por omisión, hoy)
*/
as_of?: (string | null); as_of?: (string | null);
execution?: (Execution | null); execution?: (Execution | null);
models?: Array<string>; models?: Array<string>;
reference?: (Reference | null);
} }