From d4d86135ae1593eaffe782d1e197c2a844e6f28a Mon Sep 17 00:00:00 2001 From: A Vertex SDK engineer Date: Wed, 14 Jun 2023 13:50:27 -0700 Subject: [PATCH] fix: Change scheduled pipelines client dashboard uri to view created schedules. Note: uri will not work until scheduler UI is GA. PiperOrigin-RevId: 540369950 --- google/cloud/aiplatform/preview/schedule/schedules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/google/cloud/aiplatform/preview/schedule/schedules.py b/google/cloud/aiplatform/preview/schedule/schedules.py index dd16ca3723..4209fb741c 100644 --- a/google/cloud/aiplatform/preview/schedule/schedules.py +++ b/google/cloud/aiplatform/preview/schedule/schedules.py @@ -194,5 +194,5 @@ def _dashboard_uri(self) -> str: Dashboard uri where Schedule can be viewed. """ fields = self._parse_resource_name(self.resource_name) - url = f"https://console.cloud.google.com/vertex-ai/locations/{fields['location']}/pipelines/runs/{fields['schedule']}?project={fields['project']}" + url = f"https://console.cloud.google.com/vertex-ai/locations/{fields['location']}/pipelines/schedules/{fields['schedule']}?project={fields['project']}" return url