Ignore "repr" key when processing inputs

This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-12-04 08:43:10 -03:00
commit 8405d6bed8

View file

@ -120,7 +120,9 @@ def process_inputs(inputs: Optional[dict], artifacts: Dict[str, Any]) -> dict:
inputs = {}
for key, value in artifacts.items():
if key not in inputs or not inputs[key]:
if key == "repr":
continue
elif key not in inputs or not inputs[key]:
inputs[key] = value
return inputs