Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AIP-61: Allow multiple executors to load their CLI commands #39077

Merged

Conversation

syedahsn
Copy link
Contributor

Executors are able to vend custom CLI commands to the Airflow CLI. In order to support multiple Executors, we need to allow each configured Executor to vend its set of CLI commands.

This PR introduces a method to load all Executor specific CLI commands, as well as associated unit tests.


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@o-nikolas o-nikolas changed the title Allow multiple executors to load their CLI commands AIP-61: Allow multiple executors to load their CLI commands Apr 17, 2024
… Executor fails to load

Add unit test to test failure to load Executor case
Remove import_all_executors and associated unit test
@o-nikolas o-nikolas merged commit c8f34f5 into apache:main Apr 22, 2024
42 checks passed
@o-nikolas o-nikolas deleted the syedahsn/hybrid-executors-cli-commands branch April 22, 2024 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:CLI area:Executors-core LocalExecutor & SequentialExecutor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants