Tomasz Urbaszek created AIRFLOW-6334:
----------------------------------------

             Summary: Change CommandType in executors to be a dictionary
                 Key: AIRFLOW-6334
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-6334
             Project: Apache Airflow
          Issue Type: Improvement
          Components: executors
    Affects Versions: 2.0.0
            Reporter: Tomasz Urbaszek


Most of the executors run tasks by running 'airflow tasks run ...`. This is 
achieved by passing  ['airflow', 'tasks', 'run', ...] object to 
subprocess.check_call. I would love to abandon this limiting type and instead 
use a dictionary. 

Then such dictionary could be passed to new method that will run the task 
without using subprocess.



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

Reply via email to