viiccwen commented on code in PR #54555:
URL: https://github.com/apache/airflow/pull/54555#discussion_r2280327892
##########
airflow-core/src/airflow/logging_config.py:
##########
@@ -73,7 +73,10 @@ def load_logging_config() -> tuple[dict[str, Any], str]:
else:
modpath = logging_class_path.rsplit(".", 1)[0]
try:
- mod = import_string(modpath)
+ # Import here to avoid circular imports
+ from importlib import import_module
Review Comment:
Thank @jason810496 and @Programmer-RD-AI to review it!
I've revised it already.
--
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]