o-nikolas commented on code in PR #55469:
URL: https://github.com/apache/airflow/pull/55469#discussion_r2341722147
##########
airflow-core/src/airflow/executors/executor_loader.py:
##########
@@ -41,11 +42,11 @@
# Used to lookup an ExecutorName via a string alias or module path. An
# executor may have both so we need two lookup dicts.
-_alias_to_executors: dict[str, ExecutorName] = {}
-_module_to_executors: dict[str, ExecutorName] = {}
+_alias_to_executors: dict[str | None, dict[str, ExecutorName]] =
defaultdict(dict)
Review Comment:
I was hoping to keep them the same name, these are technically "private"
variables, but just in case others were using them. But I agree with you that
the name is better. I'll update it
--
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]