🐛 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:
parent
b32e4ca8b9
commit
9f80af8f83
1 changed files with 1 additions and 1 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue