kaxil commented on code in PR #28829:
URL: https://github.com/apache/airflow/pull/28829#discussion_r1065838979
##########
airflow/config_templates/config.yml:
##########
@@ -225,7 +225,7 @@ core:
description: |
What classes can be imported during deserialization. This is a multi
line value.
The individual items will be parsed as regexp. Python built-in classes
(like dict)
- are always allowed
+ are always allowed. Bare "." will be replaced so you can set airflow.*
.
Review Comment:
`airflow/config_templates/default_airflow.cfg` needs to be updated as well
```diff
diff --git a/airflow/config_templates/default_airflow.cfg
b/airflow/config_templates/default_airflow.cfg
index 8f704c3..5a6e03e 100644
--- a/airflow/config_templates/default_airflow.cfg
+++ b/airflow/config_templates/default_airflow.cfg
@@ -137,7 +137,7 @@ enable_xcom_pickling = False
# What classes can be imported during deserialization. This is a multi line
value.
# The individual items will be parsed as regexp. Python built-in classes
(like dict)
-# are always allowed
+# are always allowed. Bare "." will be replaced so you can set airflow.* .
allowed_deserialization_classes = airflow\..*
```
--
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]