airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ash Berlin-Taylor (Jira)" <j...@apache.org>
Subject [jira] [Resolved] (AIRFLOW-5640) BaseOperator email parameter is wrongly typed and not documented
Date Fri, 18 Oct 2019 13:36:00 GMT

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

Ash Berlin-Taylor resolved AIRFLOW-5640.
----------------------------------------
    Fix Version/s: 1.10.7
       Resolution: Fixed

> BaseOperator email parameter is wrongly typed and not documented
> ----------------------------------------------------------------
>
>                 Key: AIRFLOW-5640
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-5640
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: operators
>    Affects Versions: 1.10.5
>            Reporter: Cedrik Neumann
>            Assignee: Martin Winkel
>            Priority: Major
>             Fix For: 1.10.7
>
>
> The {{email}} field is not documented in BaseOperator and furthermore the type annotation
{{str}} is wrong [here|https://github.com/apache/airflow/blob/master/airflow/models/baseoperator.py#L273].
> The method {{get_email_address_list}} clearly accepts lists of strings as well as comma
and semicolon delimited lists: [here|https://github.com/apache/airflow/blob/88989200a66291580088188f06a6db503ac823e2/airflow/utils/email.py#L123]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message