o-nikolas commented on code in PR #29055:
URL: https://github.com/apache/airflow/pull/29055#discussion_r1269825704
##########
airflow/executors/executor_loader.py:
##########
@@ -184,6 +192,31 @@ def validate_database_executor_compatibility(cls,
executor: type[BaseExecutor])
if engine.dialect.name == "sqlite":
raise AirflowConfigException(f"error: cannot use SQLite with the
{executor.__name__}")
+ @classmethod
+ def import_all_executor_classes(cls, validate=True) ->
list[type[BaseExecutor]]:
Review Comment:
After some further discussion with @potiuk we're only going to load and
inject CLI commands for the currently configured executor, so I actually no
longer need this method. I'll just scrap it altogether for now.
--
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]