ephraimbuddy commented on code in PR #26161:
URL: https://github.com/apache/airflow/pull/26161#discussion_r963487940
##########
airflow/jobs/backfill_job.py:
##########
@@ -351,18 +351,19 @@ def _task_instances_for_dag_run(self, dag_run,
session=None):
dag_run.refresh_from_db()
make_transient(dag_run)
+ dag_run.dag = dag
Review Comment:
The test I added failed due to a lack of `dag` attribute but that could be
because the `dagrun` on the test does not have the `dag` attribute. However, I
decided that it's better to have the `dag` attribute set in the code instead of
making the test pass by adding the attribute on the dr in the test
--
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]