Skip to content

Commit

Permalink
docs: Add default value to optional field parameter_values
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 589865023
  • Loading branch information
vertex-sdk-bot authored and Copybara-Service committed Dec 11, 2023
1 parent c9903ae commit 0a4d772
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
@@ -1,4 +1,4 @@
# Copyright 2022 Google LLC
# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -23,9 +23,9 @@ def log_pipeline_job_to_experiment_sample(
pipeline_job_display_name: str,
template_path: str,
pipeline_root: str,
parameter_values: Optional[Dict[str, Any]],
project: str,
location: str,
parameter_values: Optional[Dict[str, Any]] = None,
):
aiplatform.init(project=project, location=location)

Expand Down
@@ -1,4 +1,4 @@
# Copyright 2022 Google LLC
# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -25,9 +25,9 @@ def test_log_pipeline_job_sample(
pipeline_job_display_name=constants.DISPLAY_NAME,
template_path=constants.TEMPLATE_PATH,
pipeline_root=constants.STAGING_BUCKET,
parameter_values=constants.PARAMS,
project=constants.PROJECT,
location=constants.LOCATION,
parameter_values=constants.PARAMS,
)

mock_sdk_init.assert_called_with(
Expand Down

0 comments on commit 0a4d772

Please sign in to comment.