Fix issue with returning string in Vertex class
This commit is contained in:
parent
9a93e5e417
commit
a31f824457
1 changed files with 2 additions and 0 deletions
|
|
@ -141,6 +141,8 @@ class Vertex:
|
|||
if not isinstance(result, (dict, str)) and hasattr(result, "content"):
|
||||
return result.content
|
||||
return result
|
||||
if isinstance(self._built_object, str):
|
||||
self._built_result = self._built_object
|
||||
|
||||
if isinstance(self._built_result, UnbuiltResult):
|
||||
return {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue