eladkal commented on code in PR #47301:
URL: https://github.com/apache/airflow/pull/47301#discussion_r1977466780
##########
airflow/models/dagrun.py:
##########
@@ -859,6 +859,8 @@ def get_previous_scheduled_dagrun(
:param session: SQLAlchemy ORM Session
"""
dag_run = session.get(DagRun, dag_run_id)
+ if not dag_run.logical_date:
+ return None
Review Comment:
In what case it make sense that logical_date is empty?
--
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]