Ignore "repr" key when processing inputs
Unable to call the API locally #1171
This commit is contained in:
parent
3fbb93b2c3
commit
f586142938
1 changed files with 3 additions and 1 deletions
|
|
@ -125,7 +125,9 @@ def process_inputs(inputs: Optional[dict], artifacts: Dict[str, Any]) -> dict:
|
||||||
inputs = {}
|
inputs = {}
|
||||||
|
|
||||||
for key, value in artifacts.items():
|
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
|
inputs[key] = value
|
||||||
|
|
||||||
return inputs
|
return inputs
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue