uranusjr commented on PR #41453:
URL: https://github.com/apache/airflow/pull/41453#issuecomment-2303606435
> schedule_interval -> timetable_summary
These two are sort of interchangable for display purposes, but not if you
want to use the value for something else. For example:
```python
with DAG(schedule=timedelta(days=2)) as d1:
...
# This can not be changed to timetable_summary.
# d1.timetable would work, but fail for other use cases.
with DAG(schedule=d1.schedule_interval) as d2:
...
```
If we’re going the linter (ruff-like_ route, this would be a case for
showing a linting error without an automated fix available.
> schedule=NOTSET, schedule=None -> schedule=timedelta(days=1),
`schedule=NOTSET` should be changed to `timedelta(days=1)`, but
`schedule=None` should be kept as-is (its behaviour is not changed in 3.0)
--
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]