refactor: Ignore missing inputs in Component class
This commit is contained in:
parent
a5df1c109a
commit
ce80e26c50
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ class Component(CustomComponent):
|
|||
# Params keys are the `name` attribute of the Input objects
|
||||
for key, value in params.items():
|
||||
if key not in self._inputs:
|
||||
raise ValueError(f"Input {key} not found in arguments")
|
||||
continue
|
||||
input_ = self._inputs[key]
|
||||
# BaseInputMixin has a `validate_assignment=True`
|
||||
input_.value = value
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue