mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-14 16:44:07 -08:00
add an example of the python editor NDV
This commit is contained in:
parent
b46b97eb68
commit
fe1c8ab438
|
@ -51,6 +51,7 @@ import { useToast } from '@/composables/useToast';
|
|||
import { useI18n } from '@/composables/useI18n';
|
||||
import { useTelemetry } from '@/composables/useTelemetry';
|
||||
import { importCurlEventBus, ndvEventBus } from '@/event-bus';
|
||||
import PythonEditor from './PythonEditor/PythonEditor.vue';
|
||||
|
||||
const props = withDefaults(
|
||||
defineProps<{
|
||||
|
@ -1054,6 +1055,7 @@ onBeforeUnmount(() => {
|
|||
{{ $locale.baseText('nodeSettings.thisNodeDoesNotHaveAnyParameters') }}
|
||||
</n8n-text>
|
||||
</div>
|
||||
<PythonEditor :is-read-only="true" :model-value="`x = lambda a: a + 10\nprint(x(5))`" />
|
||||
|
||||
<div
|
||||
v-if="nodeHelpers.isCustomApiCallSelected(nodeValues)"
|
||||
|
|
Loading…
Reference in a new issue