langflow/src/backend
gustavoschaedler 11cece92b8 Refactor code for CustomComponent class
- Refactored code to replace the deprecated is_valid property with the is_check_valid method.
- Added validation for the entrypoint function name and return type.
- Modified the error messages to provide more specific details.

This commit implements the necessary changes to refactor the CustomComponent class in the endpoints.py file. The is_valid property has been replaced with the is_check_valid method to check the validity of the custom component. Additionally, validation has been added to ensure the presence of a valid entrypoint function and a valid return type. If any of the validation checks fail, appropriate error messages are raised to provide detailed traceback information.
2023-07-06 01:02:34 +01:00
..
langflow Refactor code for CustomComponent class 2023-07-06 01:02:34 +01:00
.gitignore refac: langflow_backend -> langflow 2023-03-17 09:50:02 -03:00
Dockerfile refac: langflow_backend -> langflow 2023-03-17 09:50:02 -03:00