Stop wasting time by documenting your DAGs in Airflow without opening the code
Did you know that you can document your DAGs without opening the code in Apache Airflow?
Stop wasting your time guessing what a DAG does!
💡 Why?
Having many DAGs written by different people and opening the code to "decrypt" what they do is a pain. It's complex and time-consuming. Instead, you can create quick and pleasant documentation like you do for your Github repository. You know what a DAG does by clicking on the DAG on the UI.
👇 How?
Define your Markdown and set doc_md in your DAG object.
Then, when you click on the DAG from the Airflow UI,
you get the DAG’s documentation at the top of the page, as shown above, 👆
It's pretty cool!
That's it 😎
No more headaches trying to understand what a DAG does.
Take care ❤️
Marc Lamberti