Skip to content

Commit

Permalink
delete check for
Browse files Browse the repository at this point in the history
Signed-off-by: helenxie-bit <[email protected]>
  • Loading branch information
helenxie-bit committed Jan 18, 2025
1 parent 08ea52b commit 3a9c664
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 @@ -416,7 +416,7 @@ class name in this argument.

# If users choose to use a custom objective function.
if objective is not None or parameters is not None:
if not objective or not base_image or not parameters:
if not objective or not parameters:
raise ValueError("One of the required parameters is None")
# Add metrics collector to the Katib Experiment.
# Up to now, we only support parameter `kind`, of which default value
Expand Down

0 comments on commit 3a9c664

Please sign in to comment.