From cf5ca5938148f51a6e66d0ebd0243976cf815092 Mon Sep 17 00:00:00 2001 From: Andrey Velichkevich Date: Tue, 11 Oct 2022 20:42:55 +0100 Subject: [PATCH] [SDK] Fix namespace parameter in tune API --- sdk/python/v1beta1/kubeflow/katib/api/katib_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/python/v1beta1/kubeflow/katib/api/katib_client.py b/sdk/python/v1beta1/kubeflow/katib/api/katib_client.py index 941213df61a..938a1bbb0e3 100644 --- a/sdk/python/v1beta1/kubeflow/katib/api/katib_client.py +++ b/sdk/python/v1beta1/kubeflow/katib/api/katib_client.py @@ -295,7 +295,7 @@ def tune( experiment.spec.trial_template = trial_template # Create the Katib Experiment. - self.create_experiment(exp_object=experiment) + self.create_experiment(exp_object=experiment, namespace=namespace) # TODO (andreyvelich): Get Experiment should always return one Experiment. # Use list_experiments to return Experiment list.