🐛 fix(types.py): fix missing return statement in PromptVertex's _built_object_repr method

The _built_object_repr method in the PromptVertex class was missing a return statement, causing it to not return any value. This fix adds the missing return statement to ensure the method returns the correct value.
This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-07-06 17:08:54 -03:00
commit 9f80af8f83

View file

@ -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):