From 97572bea25f79391ad7ff89477189fa87a6be10e Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Thu, 6 Jul 2023 23:57:17 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A5=20refactor(constants.py):=20remove?= =?UTF-8?q?=20unused=20import=20and=20unused=20CustomComponent=20from=20CU?= =?UTF-8?q?STOM=5FTOOLS=20dictionary=20The=20import=20statement=20for=20Cu?= =?UTF-8?q?stomComponent=20is=20no=20longer=20needed=20as=20it=20is=20not?= =?UTF-8?q?=20used=20in=20the=20CUSTOM=5FTOOLS=20dictionary.=20Removing=20?= =?UTF-8?q?the=20unused=20import=20and=20the=20unused=20CustomComponent=20?= =?UTF-8?q?entry=20from=20the=20dictionary=20improves=20code=20cleanliness?= =?UTF-8?q?=20and=20reduces=20potential=20confusion.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/backend/langflow/interface/tools/constants.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/backend/langflow/interface/tools/constants.py b/src/backend/langflow/interface/tools/constants.py index cac65826b..dc1bfe0c1 100644 --- a/src/backend/langflow/interface/tools/constants.py +++ b/src/backend/langflow/interface/tools/constants.py @@ -12,13 +12,11 @@ from langflow.interface.importing.utils import import_class from langflow.interface.tools.custom import ( PythonFunctionTool, PythonFunction, - CustomComponent, ) FILE_TOOLS = {"JsonSpec": JsonSpec} CUSTOM_TOOLS = { "Tool": Tool, - "CustomComponent": CustomComponent, "PythonFunctionTool": PythonFunctionTool, "PythonFunction": PythonFunction, }