From 6481291559ed603bd1ed5af8277f568fca0dd790 Mon Sep 17 00:00:00 2001 From: Rosie Zou Date: Thu, 26 May 2022 10:33:32 -0700 Subject: [PATCH] resolving merge diff --- google/cloud/aiplatform/jobs.py | 1 - google/cloud/aiplatform/model_monitoring/alert.py | 2 -- 2 files changed, 3 deletions(-) diff --git a/google/cloud/aiplatform/jobs.py b/google/cloud/aiplatform/jobs.py index b558e6e8cbe..43e2f22d184 100644 --- a/google/cloud/aiplatform/jobs.py +++ b/google/cloud/aiplatform/jobs.py @@ -2063,7 +2063,6 @@ def create( schedule_config (model_monitoring.schedule.ScheduleConfig): Configures model monitoring job scheduling interval in hours. This defines how often the monitoring jobs are triggered. - alert_config (model_monitoring.alert.EmailAlertConfig): Optional. Configures how alerts are sent to the user. Right now only email alert is supported. diff --git a/google/cloud/aiplatform/model_monitoring/alert.py b/google/cloud/aiplatform/model_monitoring/alert.py index 596acdce171..573c7b8f1f6 100644 --- a/google/cloud/aiplatform/model_monitoring/alert.py +++ b/google/cloud/aiplatform/model_monitoring/alert.py @@ -21,14 +21,12 @@ model_monitoring as gca_model_monitoring, ) - class _AlertConfig(abc.ABC): """An abstract class for setting model monitoring alert config""" def __init__(self, enable_logging: Optional[bool] = None): self.enable_logging = enable_logging - class EmailAlertConfig(_AlertConfig): def __init__(self, user_emails: List[str], enable_logging: Optional[bool] = None): """Initializer for EmailAlertConfig