jason810496 commented on code in PR #59805:
URL: https://github.com/apache/airflow/pull/59805#discussion_r2649708589


##########
airflow-core/src/airflow/cli/cli_parser.py:
##########
@@ -60,30 +59,21 @@
 log = logging.getLogger(__name__)
 
 
-for executor_name in ExecutorLoader.get_executor_names(validate_teams=False):

Review Comment:
   Good point!
   
   > Possibly one way of doing it is simple mapping of the executors -> 
provider (for built-in executors we have mapping from the executor to provider 
package and checking if the provider has "cli" defined in provider info? Also 
likely we should raise an error if provider has an executor defined with cli 
commands AND cli command defined in provider info.
   
   Yes, that is the exact same idea for me. It could be done in 
ProviderManager, and I will add the same validation for AuthManager as well.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to