forked from apache/airflow
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hybrid-ize tasks run_task executor entrypoint (apache#40762)
There is an entrypoint to running tasks on executors other than the backfill and scheduler jobs, that is the cli command tasks run_task. If neither --local or --raw are provided, an executor instance is created to run the task. Before this change, that was always the default executor. This change updates that logic to check if the task instance has been configured to run on a specific executor, if so, load that executor to run the task instead of the default.
- Loading branch information
Showing
2 changed files
with
63 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters