feat: execute node python version
This commit is contained in:
@@ -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>(
|
||||
|
||||
Reference in New Issue
Block a user