mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
feat(core): Support print RPC call in native Python runner (no-changelog) (#18630)
This commit is contained in:
@@ -30,9 +30,13 @@ export const useCompleter = (
|
||||
const word = context.matchBefore(/\w*/);
|
||||
if (!word) return null;
|
||||
|
||||
const label = toValue(mode) === 'runOnceForEachItem' ? '_item' : '_items';
|
||||
const options = [];
|
||||
|
||||
return { from: word.from, options: [{ label, type: 'variable' }] };
|
||||
const label = toValue(mode) === 'runOnceForEachItem' ? '_item' : '_items';
|
||||
options.push({ label, type: 'variable' });
|
||||
options.push({ label: 'print', type: 'function' });
|
||||
|
||||
return { from: word.from, options };
|
||||
};
|
||||
|
||||
return autocompletion({ icons: false, override: [completions] });
|
||||
|
||||
Reference in New Issue
Block a user