airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tomasz Urbaszek (Jira)" <>
Subject [jira] [Commented] (AIRFLOW-6334) Change CommandType in executors to be a dictionary
Date Tue, 24 Dec 2019 10:48:00 GMT


Tomasz Urbaszek commented on AIRFLOW-6334:

Good point, but the object should be serialisable or have something like "to_dict" option
so we can send the data to a queue.

> Change CommandType in executors to be a dictionary
> --------------------------------------------------
>                 Key: AIRFLOW-6334
>                 URL:
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: executors
>    Affects Versions: 2.0.0
>            Reporter: Tomasz Urbaszek
>            Priority: Major
> 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

This message was sent by Atlassian Jira

View raw message