uranusjr commented on code in PR #43902:
URL: https://github.com/apache/airflow/pull/43902#discussion_r1837667904
##########
airflow/models/log.py:
##########
@@ -73,7 +73,7 @@ def __init__(
if task_instance:
self.dag_id = task_instance.dag_id
self.task_id = task_instance.task_id
- if execution_date := getattr(task_instance, "execution_date",
None):
+ if execution_date := getattr(task_instance, "logical_date", None):
self.execution_date = execution_date
Review Comment:
It’s probably better to just remove this. This field was only kept for
compatibility and is no longer needed anywhere.
--
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]