refactor: Add native Python runner runtime env var (#19109)

This commit is contained in:
Iván Ovejero
2025-09-03 09:35:25 +02:00
committed by GitHub
parent 63a3502283
commit 89fc91bed6
6 changed files with 42 additions and 40 deletions

View File

@@ -241,6 +241,11 @@ const parameterOptions = computed(() => {
const options = hasRemoteMethod.value ? remoteParameterOptions.value : props.parameter.options;
const safeOptions = (options ?? []).filter(isValidParameterOption);
// temporary filter until native Python runner is GA
if (props.parameter.name === 'language' && !settingsStore.isNativePythonRunnerEnabled) {
return safeOptions.filter((o) => o.value !== 'pythonNative');
}
return safeOptions;
});