jscheffl commented on code in PR #59819:
URL: https://github.com/apache/airflow/pull/59819#discussion_r2648254907
##########
airflow-core/src/airflow/configuration.py:
##########
@@ -647,7 +654,15 @@ def get_airflow_config(airflow_home: str) -> str:
def get_all_expansion_variables() -> dict[str, Any]:
- return {k: v for d in [globals(), locals()] for k, v in d.items() if not
k.startswith("_")}
Review Comment:
Note: Alternatively we could also switch to a positive list of vars to be
passed into substitution to make it really clean.
--
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]