🐛 (component.py): fix issue where input value was not being set correctly when not found in arguments

This commit is contained in:
ogabrielluiz 2024-06-11 23:05:51 -03:00
commit 682faea54b

View file

@ -62,7 +62,7 @@ class Component(CustomComponent):
setattr(self, key, value)
for input_ in self.inputs:
if input_.name not in params:
setattr(self, input_.name, None)
setattr(self, input_.name, input_.value)
logger.warning(f"Input {input_.name} not found in arguments")
self._arguments = params