Skip to content

Commit

Permalink
changed dict index
Browse files Browse the repository at this point in the history
  • Loading branch information
bharathk005 committed Mar 7, 2024
1 parent 5be7150 commit 2474ec6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/python/v1beta1/kubeflow/katib/api/katib_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def create_experiment(
constants.EXPERIMENT_PLURAL,
experiment,
)
experiment_name = outputs.metadata.name # if "generate_name" is used, "name" gets a prefix from server
experiment_name = outputs["metadata"]["name"] # if "generate_name" is used, "name" gets a prefix from server
except multiprocessing.TimeoutError:
raise TimeoutError(
f"Timeout to create Katib Experiment: {namespace}/{experiment_name}"
Expand Down

0 comments on commit 2474ec6

Please sign in to comment.