You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Cedrik Neumann (Jira)" <ji...@apache.org> on 2019/10/11 14:54:00 UTC

[jira] [Created] (AIRFLOW-5640) BaseOperator email parameter is wrongly typed and not documented

Cedrik Neumann created AIRFLOW-5640:
---------------------------------------

             Summary: 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


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)