From cd66ea11fb4a882edf7f51cffa18160c5ff0ebb2 Mon Sep 17 00:00:00 2001 From: Gordon Inggs Date: Fri, 6 Dec 2024 13:16:37 +0200 Subject: [PATCH] Adding Rejane to Service Alerts --- src/cct_connector/ServiceAlertEmailer.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/cct_connector/ServiceAlertEmailer.py b/src/cct_connector/ServiceAlertEmailer.py index bb703c7..bc04053 100644 --- a/src/cct_connector/ServiceAlertEmailer.py +++ b/src/cct_connector/ServiceAlertEmailer.py @@ -623,6 +623,18 @@ def _service_area_filter(row: pandas.Series) -> bool: "all planned works that might affect Ward 116", _ward_curry_pot("116")), + # Grassy Park + ServiceAlertEmailConfig("current", False, "v1", EMAIL_COLS, + (("Rejane", "rejane.alexander@capetown.gov.za"),), + "all unplanned alerts that affect Grassy Park", + "(inferred_suburbs.astype('str').str.lower().str.contains('grassy\Wpark') or " + " area.astype('str').str.lower().str.contains('grassy\Wpark'))"), + ServiceAlertEmailConfig("current", True, "v1", EMAIL_COLS, + (("Rejane", "rejane.alexander@capetown.gov.za"),), + "all planned works that affect Grassy Park", + "(inferred_suburbs.astype('str').str.lower().str.contains('grassy\Wpark') or " + " area.astype('str').str.lower().str.contains('grassy\Wpark'))"), + # Somerset West ServiceAlertEmailConfig("current", False, "v1", EMAIL_COLS, (("Delyno", "delyno.dutoit@capetown.gov.za"),),