Skip to content

Commit

Permalink
fix(sdk): fix bug in checking values in _param_values. Fixes #6799 (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelliqx authored Dec 3, 2021
1 parent a1bef77 commit a71fce0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/python/kfp/_local_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ def _run_group(
with open(_altered_list_file, "r") as f:
_param_values = json.load(f)
for index, _param_value in enumerate(_param_values):
if isinstance(_param_values, object):
if isinstance(_param_values, (dict, list)):
_param_value = json.dumps(_param_value)
stack[_loop_args.pattern] = _param_value
loop_run_name = "{run_name}/{loop_index}".format(
Expand Down

0 comments on commit a71fce0

Please sign in to comment.