ferruzzi commented on code in PR #32532:
URL: https://github.com/apache/airflow/pull/32532#discussion_r1260386650
##########
airflow/providers_manager.py:
##########
@@ -950,6 +957,14 @@ def _discover_auth_backends(self) -> None:
if _sanity_check(provider_package,
auth_backend_module_name + ".init_app", provider):
self._api_auth_backend_module_names.add(auth_backend_module_name)
+ def _discover_executors(self) -> None:
+ """Retrieve all executors defined in the providers."""
+ for provider_package, provider in self._provider_dict.items():
+ if provider.data.get("executors"):
+ for executors_class_name in provider.data["executors"]:
+ if _sanity_check(provider_package, executors_class_name,
provider):
Review Comment:
Out of scope, but we should likely rename that method at some point.
--
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]