utkarsharma2 opened a new pull request, #32118: URL: https://github.com/apache/airflow/pull/32118
Currently, there are CLI commands that are failing when passing a custom timetable. Following the example in the tutorial - https://airflow.apache.org/docs/apache-airflow/stable/howto/timetable.html and running the following commands will result in an error - `ValueError: Not a valid timetable: <workday.AfterWorkdayTimetable object at 0x7f50f9cd1700>` 1. airflow dags backfill <dag_id> -s <date> -e <date> --dry-run (works fine without --dry-run) 2. airflow dags test <dag_id> [date] 3. airflow tasks render <dag_id> <task_id> <date> (works fine if you pass a valid run_id instead of an execution_date) The failure is due to missing `data_interval` when creating the `DagRun` object. The PR aims at adding `data_interval` when we are creating `DagRun`. - [ ] Add `data_interval` for CLI commands - [ ] Unit tests need to be added related: https://github.com/apache/airflow/issues/31969 -- 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]
