You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Kamil Bregula (Jira)" <ji...@apache.org> on 2020/02/26 23:34:00 UTC

[jira] [Created] (AIRFLOW-6935) Pass the SchedulerJob configuration using the constructor

Kamil Bregula created AIRFLOW-6935:
--------------------------------------

             Summary: Pass the SchedulerJob configuration using the constructor
                 Key: AIRFLOW-6935
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-6935
             Project: Apache Airflow
          Issue Type: Improvement
          Components: scheduler
    Affects Versions: 1.10.9
            Reporter: Kamil Bregula


It is difficult to understand the configurations of these classes if they contain hidden configuration options. All configuration parameters should be passed by the constructor. It also forces each option to be documented and prevents it from reading in the loop, which is expensive.



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