-
Notifications
You must be signed in to change notification settings - Fork 16.4k
BREAKING CHANGE: replace Airflow config by conx extras in SMTP provider #46219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
eladkal
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just needs to remove unrelated changes for mongo (as were already fixed in main)
|
@hussein-awala can you rebase and resolve conflicts? |
9bf0bbe to
18d5a24
Compare
it's ready, I'll merge once the tests are green |
e3ba5a4 to
de74223
Compare
|
Merging. Failures ade about Amazon DMS not related to this PR |
…pache#46219) * BREAKING CHANGE: replace Airflow config by conx extras in SMTP provider * fix static checks
…pache#46219) * BREAKING CHANGE: replace Airflow config by conx extras in SMTP provider * fix static checks
…pache#46219) * BREAKING CHANGE: replace Airflow config by conx extras in SMTP provider * fix static checks
…pache#46219) * BREAKING CHANGE: replace Airflow config by conx extras in SMTP provider * fix static checks
This PR introduces some breaking changes to SMTP provider:
The argument
from_emailis now an optional kwarg inSmtpNotifier, and the argumenttobecame the first positional argument.Configuring the
SmtpNotifierandSmtpHookdefault values via Airflow SMTP configurations is not supported anymore. You can instead use the SMTP connection configuration to set the default values, where you can use:ssl_contextinstead of the configurationsmtp_provider.ssl_contextoremail.ssl_contextin the SMTP hook.from_emailinstead of the configurationsmtp.smtp_mail_frominSmtpNotifier.subject_templateinstead of the configurationsmtp.templated_email_subject_pathinSmtpNotifier.html_content_templateinstead of the configurationsmtp.templated_html_content_pathinSmtpNotifier.