ferruzzi commented on code in PR #56106:
URL: https://github.com/apache/airflow/pull/56106#discussion_r2383132321
##########
providers/amazon/src/airflow/providers/amazon/aws/hooks/ses.py:
##########
@@ -101,6 +109,64 @@ def send_email(
custom_headers=custom_headers,
)
- return ses_client.send_raw_email(
+ return self.conn.send_raw_email(
Source=mail_from, Destinations=recipients, RawMessage={"Data":
message.as_string()}
)
+
+ async def asend_email(
Review Comment:
Yeah, that was a discussion in a previous PR and there doesn't seem to be a
real concrete consensus, both ways are used. send/asend and get/aget are
common enough to say they are standard for example, but (in the other PR, for
example) publish/apublish is not really common enough to know if it's
"standard".
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]