langflow/tests
Gabriel Luiz Freitas Almeida be09849081 🚀 feat(langflow): rename PythonFunction to PythonFunctionTool for better semantics
🚀 feat(langflow): add PythonFunctionToolNode to the frontend node tools
🚀 feat(langflow): add PythonFunctionTool to the custom tools
🚀 feat(langflow): add get_function to importing utils to get the function from code
🚀 feat(langflow): add func parameter to PythonFunctionTool to store the function
🚀 feat(langflow): add name and description parameters to PythonFunctionTool
🚀 feat(langflow): update instantiate_tool to use PythonFunctionTool instead of PythonFunction
🚀 feat(langflow): update constants to use PythonFunctionTool instead of PythonFunction
🚀 feat(langflow): update custom.py to use PythonFunctionTool instead of PythonFunction
🚀 feat(langflow): update loading.py to use get_function and PythonFunctionTool
🚀 feat(langflow): update utils.py to use get_function
🚀 feat(langflow): update test_custom_types.py to use get_function and PythonFunctionTool
🚀 feat(langflow): update test_graph.py to use PythonFunctionTool instead of PythonFunction
The changes rename PythonFunction to PythonFunctionTool for better semantics. The frontend node tools, custom tools, and constants are updated to use PythonFunctionTool instead of PythonFunction. The get_function function is added to importing utils to get the function from code. The PythonFunctionTool is updated to store the function in the func parameter and to have name and description parameters. The instantiate_tool, loading.py, and utils.py are updated to use get_function and PythonFunctionTool. The test_custom_types.py and test_graph.py are updated to use PythonFunctionTool instead of PythonFunction.
2023-05-31 15:41:16 -03:00
..
data 🎨 refactor(complex_example.json): rename "PythonFunction" to "PythonFunctionTool" and add "description" and "name" fields 2023-05-31 15:40:20 -03:00
conftest.py refactor(langflow): reorder imports in multiple files 2023-05-02 23:23:36 +00:00
test_agents_template.py 🎨 style(tests): add display_name field to LLM in test_agents_template.py and test_chains_template.py 2023-05-23 11:51:31 -03:00
test_cache.py refactor(cache): add cache attribute to memoized function wrapper 2023-05-07 20:15:29 +00:00
test_cache_manager.py refactor(langflow): reorder imports in multiple files 2023-05-02 23:23:36 +00:00
test_chains_template.py 🎨 style(tests): add display_name field to LLM in test_agents_template.py and test_chains_template.py 2023-05-23 11:51:31 -03:00
test_creators.py refac: fix linting 2023-04-01 18:03:14 -03:00
test_custom_types.py 🚀 feat(langflow): rename PythonFunction to PythonFunctionTool for better semantics 2023-05-31 15:41:16 -03:00
test_embeddings_template.py 🔨 refactor(embeddings.py): move openai fields formatting to a separate method 2023-05-28 16:18:33 -03:00
test_endpoints.py fix: update to validate prompt endpoint 2023-04-04 22:07:40 -03:00
test_frontend_nodes.py chore: refactor of template, frontend_node and field 2023-05-27 15:56:46 -03:00
test_graph.py 🚀 feat(langflow): rename PythonFunction to PythonFunctionTool for better semantics 2023-05-31 15:41:16 -03:00
test_llms_template.py 🔥 refactor(base.py): remove unused import statement 2023-05-30 17:36:59 -03:00
test_loading.py refactor(tests): remove unused imports and variables, fix typos and update node types 2023-05-07 20:15:29 +00:00
test_prompts_template.py 🚀 feat(test_prompts_template.py): change type of "suffix" and "prefix" fields to "prompt" and update "format_instructions" field 2023-05-29 18:57:56 -03:00
test_template.py refac: change docstring parser 2023-04-13 21:39:25 -03:00
test_validate_code.py formatting 2023-03-31 14:06:40 -03:00
test_vectorstore_template.py test: add test to vectorstore 2023-04-10 11:54:12 -03:00
test_websocket.py refactor(langflow): reorder imports in multiple files 2023-05-02 23:23:36 +00:00