From 485a0c73cbab3c60698ef58a4967df585913bd4a Mon Sep 17 00:00:00 2001 From: Deborah Date: Mon, 4 Dec 2023 08:19:36 +0000 Subject: [PATCH] docs: Fix typo in tooltip relating to JMESPath (#7910) --- .../@n8n/nodes-langchain/nodes/tools/ToolCode/ToolCode.node.ts | 2 +- .../nodes-base/nodes/Code/descriptions/PythonCodeDescription.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/@n8n/nodes-langchain/nodes/tools/ToolCode/ToolCode.node.ts b/packages/@n8n/nodes-langchain/nodes/tools/ToolCode/ToolCode.node.ts index a86ff7a322..b3087ad12c 100644 --- a/packages/@n8n/nodes-langchain/nodes/tools/ToolCode/ToolCode.node.ts +++ b/packages/@n8n/nodes-langchain/nodes/tools/ToolCode/ToolCode.node.ts @@ -119,7 +119,7 @@ export class ToolCode implements INodeType { // TODO: Add proper text here later hint: 'You can access the input the tool receives via the input property "query". The returned value should be a single string.', description: - 'Python code to execute.

Tip: You can use luxon vars like _today for dates and $_mespath for querying JSON structures. Learn more.', + 'Python code to execute.

Tip: You can use built-in methods and variables like _today for dates and _jmespath for querying JSON structures. Learn more.', noDataExpression: true, }, ], diff --git a/packages/nodes-base/nodes/Code/descriptions/PythonCodeDescription.ts b/packages/nodes-base/nodes/Code/descriptions/PythonCodeDescription.ts index e9db25924a..3d84795415 100644 --- a/packages/nodes-base/nodes/Code/descriptions/PythonCodeDescription.ts +++ b/packages/nodes-base/nodes/Code/descriptions/PythonCodeDescription.ts @@ -11,7 +11,7 @@ const commonDescription: INodeProperties = { }, default: '', description: - 'Python code to execute.

Tip: You can use luxon vars like _today for dates and $_mespath for querying JSON structures. Learn more.', + 'Python code to execute.

Tip: You can use built-in methods and variables like _today for dates and _jmespath for querying JSON structures. Learn more.', noDataExpression: true, };