fix: the pythonfunction test error (#2572)

fix the test error
This commit is contained in:
feiyang_deepnova 2024-07-08 23:48:33 +08:00 • committed by GitHub
commit 4d5a0df8d1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -3,7 +3,7 @@ __all__ = [
"chains", "chains",
"documentloaders", "documentloaders",
"embeddings", "embeddings",
"experimental", "prototypes",
"inputs", "inputs",
"memories", "memories",
"outputs", "outputs",

View file

@ -1,9 +1,9 @@
from langflow.components import experimental from langflow.components import prototypes
def test_python_function_component(): def test_python_function_component():
# Arrange # Arrange
python_function_component = experimental.PythonFunctionComponent() python_function_component = prototypes.PythonFunctionComponent()
# Act # Act
# function must be a string representation # function must be a string representation