Skip to content

Commit

Permalink
fix: the pythonfunction test error (#2572)
Browse files Browse the repository at this point in the history
fix the test error
  • Loading branch information
linfey90 authored Jul 8, 2024
1 parent 74433bf commit 4d5a0df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/backend/base/langflow/components/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"chains",
"documentloaders",
"embeddings",
"experimental",
"prototypes",
"inputs",
"memories",
"outputs",
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/text_experimental_components.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
from langflow.components import experimental
from langflow.components import prototypes


def test_python_function_component():
# Arrange
python_function_component = experimental.PythonFunctionComponent()
python_function_component = prototypes.PythonFunctionComponent()

# Act
# function must be a string representation
Expand Down

0 comments on commit 4d5a0df

Please sign in to comment.