mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
refactor: Add native Python runner runtime env var (#19109)
This commit is contained in:
@@ -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;
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user