Skip to content

Commit

Permalink
resolving merge diff
Browse files Browse the repository at this point in the history
  • Loading branch information
rosiezou committed May 26, 2022
1 parent 21e0027 commit 68b6fa4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion google/cloud/aiplatform/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 0 additions & 2 deletions google/cloud/aiplatform/model_monitoring/alert.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 68b6fa4

Please sign in to comment.