Skip to content

Commit

Permalink
updated experiment_name in create_experiment
Browse files Browse the repository at this point in the history
Signed-off-by: Bharath Krishna <bharathk005@gmail.com>
  • Loading branch information
bharathk005 committed Mar 7, 2024
1 parent 5be7150 commit ccc1be2
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 ccc1be2

Please sign in to comment.