refactor: Improve handling of template_dicts inputs in Vertex class

This commit is contained in:
ogabrielluiz 2024-06-13 17:44:41 -03:00
commit 7d7e641260

View file

@ -241,7 +241,7 @@ class Vertex:
if "type" in value_dict:
list_to_append.append(value_dict["type"])
elif "input_types" in value_dict:
if "input_types" in value_dict:
list_to_append.extend(value_dict["input_types"])
template_dict = self.data["node"]["template"]