You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Ash Berlin-Taylor (JIRA)" <ji...@apache.org> on 2019/08/16 17:32:00 UTC

[jira] [Resolved] (AIRFLOW-5056) Add mail_filter argument to ImapHook when searching for attachments

     [ https://issues.apache.org/jira/browse/AIRFLOW-5056?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ash Berlin-Taylor resolved AIRFLOW-5056.
----------------------------------------
    Resolution: Fixed

> Add mail_filter argument to ImapHook when searching for attachments
> -------------------------------------------------------------------
>
>                 Key: AIRFLOW-5056
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-5056
>             Project: Apache Airflow
>          Issue Type: New Feature
>          Components: contrib, hooks
>    Affects Versions: 1.10.3
>            Reporter: Felix Uellendall
>            Assignee: Felix Uellendall
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> By making use of the _criterion_ argument in the [search|https://docs.python.org/3.6/library/imaplib.html#imaplib.IMAP4.search] function we can filter only specific mails we want to search in for attachments.
> *+ adding support to the ImapAttachmentSensor and ImapAttachmentToS3Operator*



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)