From 28bf88cf7980830ce77024af3ef81886514fb367 Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Thu, 27 Jul 2023 09:55:48 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(custom=5Fcomponent.py):=20fi?= =?UTF-8?q?x=20custom=5Frepr=20method=20to=20return=20a=20string=20represe?= =?UTF-8?q?ntation=20of=20repr=5Fvalue?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/backend/langflow/interface/custom/custom_component.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/langflow/interface/custom/custom_component.py b/src/backend/langflow/interface/custom/custom_component.py index 9ade781c8..d5f366d97 100644 --- a/src/backend/langflow/interface/custom/custom_component.py +++ b/src/backend/langflow/interface/custom/custom_component.py @@ -23,7 +23,7 @@ class CustomComponent(Component, extra=Extra.allow): super().__init__(**data) def custom_repr(self): - return self.repr_value + return str(self.repr_value) def build_config(self): return self.field_config