From 9f80af8f8370183f6fc3702a563511330017f6c8 Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Thu, 6 Jul 2023 17:08:54 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(types.py):=20fix=20missing?= =?UTF-8?q?=20return=20statement=20in=20PromptVertex's=20=5Fbuilt=5Fobject?= =?UTF-8?q?=5Frepr=20method=20The=20=5Fbuilt=5Fobject=5Frepr=20method=20in?= =?UTF-8?q?=20the=20PromptVertex=20class=20was=20missing=20a=20return=20st?= =?UTF-8?q?atement,=20causing=20it=20to=20not=20return=20any=20value.=20Th?= =?UTF-8?q?is=20fix=20adds=20the=20missing=20return=20statement=20to=20ens?= =?UTF-8?q?ure=20the=20method=20returns=20the=20correct=20value.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/backend/langflow/graph/vertex/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/langflow/graph/vertex/types.py b/src/backend/langflow/graph/vertex/types.py index b48733e84..a8b38bb3f 100644 --- a/src/backend/langflow/graph/vertex/types.py +++ b/src/backend/langflow/graph/vertex/types.py @@ -208,7 +208,7 @@ class PromptVertex(Vertex): # with the variables filled in return self._built_object.format(**self.artifacts) else: - super()._built_object_repr() + return super()._built_object_repr() class OutputParserVertex(Vertex):