[
https://issues.apache.org/jira/browse/AIRFLOW-6334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17002779#comment-17002779
]
Kamil Bregula commented on AIRFLOW-6334:
----------------------------------------
Simple objects can be transferred between processes without problems . For
example:
https://github.com/apache/airflow/blob/57da45685457520d51a0967e2aeb5e5ff162dfa7/airflow/utils/dag_processing.py#L53-L176
> 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
> 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 subprocess.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)