🐛 (component.py): fix issue where input value was not being set correctly when not found in arguments
This commit is contained in:
parent
9e6ede9fb0
commit
682faea54b
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue