diff --git a/airflow/providers/smtp/notifications/smtp.py b/airflow/providers/smtp/notifications/smtp.py index 301fe507511..482b6ce8b93 100644 --- a/airflow/providers/smtp/notifications/smtp.py +++ b/airflow/providers/smtp/notifications/smtp.py @@ -34,7 +34,7 @@ class SmtpNotifier(BaseNotifier): """ - SMTP Notifier + SMTP Notifier. :param smtp_conn_id: The :ref:`smtp connection id ` that contains the information used to authenticate the client. @@ -82,11 +82,11 @@ def __init__( @cached_property def hook(self) -> SmtpHook: - """Smtp Events Hook""" + """Smtp Events Hook.""" return SmtpHook(smtp_conn_id=self.smtp_conn_id) def notify(self, context): - """Send a email via smtp server""" + """Send a email via smtp server.""" with self.hook as smtp: smtp.send_email_smtp( smtp_conn_id=self.smtp_conn_id,