Skip to content

Commit

Permalink
Fixing syntax issue in emailer
Browse files Browse the repository at this point in the history
  • Loading branch information
cityofcapetown-opm-bot committed Dec 12, 2024
1 parent 3e31573 commit bb71d18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cct_connector/ServiceAlertEmailer.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@

@dataclasses.dataclass
class ServiceAlertEmailConfig(ServiceAlertOutputFileConfig):
receivers: typing.Tuple[typing.Tuple[str | None, str], ...]
receivers: typing.Tuple[typing.Tuple[str or None, str], ...]
email_focus: str
additional_filter: str | typing.Callable | None
additional_filter: str or typing.Callable or None

def apply_additional_filter(self, data_df: pandas.DataFrame) -> pandas.DataFrame:
logging.debug(f"( pre-filter) {data_df.shape=}")
Expand Down

0 comments on commit bb71d18

Please sign in to comment.