UNPKG

@zgxsuerwtmrhjzt/n8n-nodes-python-raw

Version:

Run Python scripts in n8n with raw output (exitCode, stdout, stderr) - Fork of naskio/n8n-nodes-python

13 lines (12 loc) 431 B
import { IExecuteFunctions } from 'n8n-core'; import { INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow'; export interface IExecReturnData { exitCode: number; error?: Error; stderr: string; stdout: string; } export declare class PythonFunction implements INodeType { description: INodeTypeDescription; execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>; }