pierrejeambrun commented on code in PR #31301:
URL: https://github.com/apache/airflow/pull/31301#discussion_r1225363177
##########
airflow/models/dag.py:
##########
@@ -685,8 +685,8 @@ def validate(self):
f"inconsistent schedule: timetable {self.timetable.summary!r} "
f"does not match schedule_interval {self.schedule_interval!r}",
)
- self.params.validate()
self.timetable.validate()
+ self.validate_schedule_and_params()
Review Comment:
We need to update the docstring of `dag.validate()` which is not relevant
anymore, the part that tells:
```
This is called by the DAG bag before bagging the DAG.
```
--
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]