From 0fb46832628eb18fa0f183425952f77c686a0452 Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Wed, 19 Jun 2024 19:31:38 -0300 Subject: [PATCH] refactor: Update StrInput to validate the given value --- src/backend/base/langflow/inputs/inputs.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/backend/base/langflow/inputs/inputs.py b/src/backend/base/langflow/inputs/inputs.py index 10163740c..43020c806 100644 --- a/src/backend/base/langflow/inputs/inputs.py +++ b/src/backend/base/langflow/inputs/inputs.py @@ -56,6 +56,7 @@ class StrInput(BaseInputMixin, ListableInputMixin, DatabaseLoadMixin): load_from_db: CoalesceBool = False """Defines if the field will allow the user to open a text editor. Default is False.""" + @staticmethod def _validate_value(v: Any, _info): """ Validates the given value and returns the processed value.