You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Hao Liang (JIRA)" <ji...@apache.org> on 2019/06/21 05:47:00 UTC
[jira] [Created] (AIRFLOW-4831) conf.has_option raises an error if
the given section is missing instead of returning false
Hao Liang created AIRFLOW-4831:
----------------------------------
Summary: conf.has_option raises an error if the given section is missing instead of returning false
Key: AIRFLOW-4831
URL: https://issues.apache.org/jira/browse/AIRFLOW-4831
Project: Apache Airflow
Issue Type: Improvement
Components: core
Affects Versions: 1.10.3
Reporter: Hao Liang
Assignee: Hao Liang
Currently, conf.has_option raises an error if the given section is missing. I think it should return false if either option or section is missing, which is also the behavior of ConfigParser.has_option.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)