ruff
3b913ce6 - [`airflow`] Improve the `AIR002` error message (#20173)

Commit
11 days ago
[`airflow`] Improve the `AIR002` error message (#20173) <!-- Thank you for contributing to Ruff/ty! To help us out with reviewing, please consider the following: - Does this pull request include a summary of the change? (See below.) - Does this pull request include a descriptive title? (Please prefix with `[ty]` for ty pull requests.) - Does this pull request include references to any relevant issues? --> ## Summary <!-- What's the purpose of the change? What does it do, and why? --> ### What Change the message from "DAG should have an explicit `schedule` argument" to "`DAG` or `@dag` should have an explicit `schedule` argument" ### Why We're trying to get rid of the idea that DAG in airflow was Directed acyclic graph. Thus, change it to refer to the class `DAG` or the decorator `@dag` might help a bit. ## Test Plan <!-- How was it tested? --> update the test fixtures accordly
Author
Parents
Loading