Skip to content

Accept None for EmailOperator.from_email to load it from smtp connection#30533

Merged
eladkal merged 2 commits into
apache:mainfrom
hussein-awala:fix/email_op_sender_email
Apr 9, 2023
Merged

Accept None for EmailOperator.from_email to load it from smtp connection#30533
eladkal merged 2 commits into
apache:mainfrom
hussein-awala:fix/email_op_sender_email

Conversation

@hussein-awala

@hussein-awala hussein-awala commented Apr 7, 2023

Copy link
Copy Markdown
Member

In this PR, I change the typing of from_email in the EmailOperator to accept None and I set the default value to None to automatically use the email provided in the connection without the need to explicitly set it to None.

@hussein-awala hussein-awala marked this pull request as ready for review April 8, 2023 22:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants