🔥 refactor(constants.py): remove unused import and unused CustomComponent from CUSTOM_TOOLS dictionary
The import statement for CustomComponent is no longer needed as it is not used in the CUSTOM_TOOLS dictionary. Removing the unused import and the unused CustomComponent entry from the dictionary improves code cleanliness and reduces potential confusion.
This commit is contained in:
parent
97399632e2
commit
97572bea25
1 changed files with 0 additions and 2 deletions
|
|
@ -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,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue