n8n-nodes-python
Version:
Run Python on n8n.
14 lines (13 loc) • 459 B
TypeScript
import { IExecuteFunctions } from 'n8n-core';
import { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow';
export interface IExecReturnData {
exitCode: number;
error?: Error;
stderr: string;
stdout: string;
items?: IDataObject[];
}
export declare class PythonFunction implements INodeType {
description: INodeTypeDescription;
execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
}