Refactor langflow template field base.py to improve code readability and maintainability. - Import additional types from langflow.helpers.custom and langflow.type_extraction.type_extraction modules. - Add field_validator method to validate field_type. - Convert type to string if it is a type instance. - Raise ValueError if type is not a string or a type instance. |
||
|---|---|---|
| .. | ||
| langflow | ||
| poetry.lock | ||
| pyproject.toml | ||
| README.md | ||