kyupark opened a new pull request, #66691:
URL: https://github.com/apache/airflow/pull/66691

   ## What
   
   Add DAG-level `doc_md` to two standard provider example DAGs:
   
   - `example_branch_day_of_week_operator.py`
   - `example_short_circuit_operator.py`
   
   This exposes the examples' purpose in the Airflow UI Docs tab, following the 
same pattern used by other example DAG documentation updates.
   
   Follows up #60128.
   
   ## How
   
   - Expanded each module docstring with a concise Markdown heading and 
explanation.
   - Passed `doc_md=__doc__` to each DAG constructor.
   
   ## Tests
   
   - `python3 -m py_compile 
providers/standard/src/airflow/providers/standard/example_dags/example_branch_day_of_week_operator.py
 
providers/standard/src/airflow/providers/standard/example_dags/example_short_circuit_operator.py`
   - `git diff --check`
   - `prek run --files 
providers/standard/src/airflow/providers/standard/example_dags/example_branch_day_of_week_operator.py
 
providers/standard/src/airflow/providers/standard/example_dags/example_short_circuit_operator.py`
   - `breeze testing core-tests 
airflow-core/tests/unit/always/test_example_dags.py -k 
'example_weekday_branch_operator or example_short_circuit_operator' --backend 
sqlite --python 3.10`
   
   Result: `3 passed, 1605 deselected, 1 warning in 23.87s`.
   


-- 
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]

Reply via email to