feat: execute node python version

This commit is contained in:
tao.chen
2026-08-11 19:00:55 +08:00
parent 38cd06ee7a
commit e80cbbd81c
5 changed files with 56 additions and 22 deletions
+5
View File
@@ -658,6 +658,8 @@ export type ScheduleArtifact = {
created_at: string;
};
export type PythonVersion = "3.8" | "3.10" | "3.12";
export type ScheduleNode = {
node_id: string;
schedule_id: string;
@@ -671,6 +673,7 @@ export type ScheduleNode = {
position_y: number;
arguments_json: Record<string, unknown>;
env_refs_json: Record<string, string>;
python_version: PythonVersion;
created_at: string;
updated_at: string;
version: {
@@ -1093,6 +1096,7 @@ export async function createScheduleNode(
position_y?: number;
arguments_json?: Record<string, unknown>;
env_refs_json?: Record<string, string>;
python_version?: PythonVersion;
},
): Promise<Schedule> {
return apiRequest<Schedule>(
@@ -1117,6 +1121,7 @@ export async function updateScheduleNode(
position_y?: number;
arguments_json?: Record<string, unknown>;
env_refs_json?: Record<string, string>;
python_version?: PythonVersion;
},
): Promise<Schedule> {
return apiRequest<Schedule>(