airflow.executors.executor_loader
¶
All executors.
Module Contents¶
Classes¶
Keeps constants for all the currently available executors. |
Attributes¶
- class airflow.executors.executor_loader.ExecutorLoader[source]¶
Keeps constants for all the currently available executors.
- classmethod get_default_executor(cls) airflow.executors.base_executor.BaseExecutor [source]¶
Creates a new instance of the configured executor if none exists and returns it
- classmethod load_executor(cls, executor_name: str) airflow.executors.base_executor.BaseExecutor [source]¶
Loads the executor.
This supports the following formats: * by executor name for core executor * by
{plugin_name}.{class_name}
for executor from plugins * by import path.- Returns
an instance of executor class via executor_name