Skip to content

Commit

Permalink
chore: Update name in sample to retrieve experiment backing tensorboa…
Browse files Browse the repository at this point in the history
…rd resource name

PiperOrigin-RevId: 683207144
  • Loading branch information
vertex-sdk-bot authored and copybara-github committed Oct 7, 2024
1 parent 66572e0 commit f3a3677
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 Google LLC
# Copyright 2024 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 @@ -12,11 +12,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# [START aiplatform_sdk_create_experiment_default_tensorboard_sample]
# [START aiplatform_sdk_get_experiment_backing_tensorboard_sample]
from google.cloud import aiplatform


def get_experiment_backing_tensorboard_resource_name_sample(
def get_experiment_backing_tensorboard_sample(
experiment_name: str,
project: str,
location: str,
Expand All @@ -30,4 +30,4 @@ def get_experiment_backing_tensorboard_resource_name_sample(
return backing_tensorboard.name


# [END aiplatform_sdk_create_experiment_default_tensorboard_sample]
# [END aiplatform_sdk_get_experiment_backing_tensorboard_sample]
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
import test_constants as constants


def test_get_experiment_backing_tensorboard_resource_name_sample(
def test_get_experiment_backing_tensorboard_sample(
mock_get_experiment, mock_get_backing_tensorboard_resource
):

get_experiment_backing_tensorboard_sample.get_experiment_backing_tensorboard_resource_name_sample(
get_experiment_backing_tensorboard_sample.get_experiment_backing_tensorboard_sample(
experiment_name=constants.EXPERIMENT_NAME,
project=constants.PROJECT,
location=constants.LOCATION,
Expand Down

0 comments on commit f3a3677

Please sign in to comment.