airflow.executors.local_executor¶
LocalExecutor
See also
For more information on how the LocalExecutor works, take a look at the guide: Local Executor
Module Contents¶
-
class
airflow.executors.local_executor.LocalWorker(result_queue)[source]¶ Bases:
multiprocessing.Process,airflow.utils.log.logging_mixin.LoggingMixinLocalWorker Process implementation to run airflow commands. Executes the given command and puts the result into a result queue when done, terminating execution.
-
class
airflow.executors.local_executor.QueuedLocalWorker(task_queue, result_queue)[source]¶ Bases:
airflow.executors.local_executor.LocalWorkerLocalWorker implementation that is waiting for tasks from a queue and will continue executing commands as they become available in the queue. It will terminate execution once the poison token is found.
-
class
airflow.executors.local_executor.LocalExecutor[source]¶ Bases:
airflow.executors.base_executor.BaseExecutorLocalExecutor executes tasks locally in parallel. It uses the multiprocessing Python library and queues to parallelize the execution of tasks.
-
class
_UnlimitedParallelism(executor)[source]¶ Bases:
objectImplements LocalExecutor with unlimited parallelism, starting one process per each command to execute.
-
class