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 <[email protected]>
  • Loading branch information
bharathk005 committed Apr 2, 2024
1 parent 464630a commit 2260c8b
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 2260c8b

Please sign in to comment.