apache / apache/airflow

Best Practice for using variable in timetable seems obsolete

Open
#61,497 4 comments 1 reaction 0 assignees View on GitHub
area:core kind:bug kind:documentation
Dominant language
Python
Stars
46.9k
Forks
17.8k
Avg merge
2d 9h
Merged PRs (30d)
472

Description

### What do you see as an issue?

hello, it seems that the example provided in this page [https://airflow.apache.org/docs/apache-airflow/stable/best-practices.html#timetables ](https://airflow.apache.org/docs/apache-airflow/stable/best-practices.html#timetables )
is not valid anymore, not only it doesn't works but it also seems to crash dag processor

Image

### Solving the problem

If this example is not valid it should be removed (and maybe dag processor should not crash and provide import issue on UI)

### Anything else

_No response_

### Are you willing to submit PR?

- [ ] Yes I am willing to submit a PR!

### Code of Conduct

- [x] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.