Fix condition to update params in Vertex class

This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-02-28 13:40:08 -03:00
commit 63a79b9106

View file

@ -457,7 +457,7 @@ class Vertex:
await self._build_node_and_update_params(key, value, user_id)
elif isinstance(value, list) and self._is_list_of_nodes(value):
await self._build_list_of_nodes_and_update_params(key, value, user_id)
elif key not in self.params:
elif key not in self.params or self.updated_raw_params:
self.params[key] = value
def _is_node(self, value):