uranusjr commented on code in PR #46882:
URL: https://github.com/apache/airflow/pull/46882#discussion_r1962613597
##########
airflow/api_fastapi/core_api/datamodels/dag_run.py:
##########
@@ -99,6 +104,38 @@ def check_data_intervals(cls, values):
)
return values
+ def validate_context(self, dag: DAG) -> dict:
+ from airflow.timetables.base import DataInterval
Review Comment:
Why is this imported inside the function?
--
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]