Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Your First Airflow Pull Request — 15-Minute Guide
Purpose
-------
This page walks **new contributors** through opening their first
Apache Airflow pull request (PR) in about five minutes. We present *one*
Apache Airflow pull request (PR) in about 15 minutes. We present *one*
local option (Breeze) and *one* fully-hosted option (GitHub Codespaces).
Everything else lives in the advanced guides.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,21 @@
from airflow.sdk.exceptions import AirflowSkipException


@dag(schedule=None, start_date=pendulum.datetime(2023, 1, 1, tz="UTC"), catchup=False)
@dag(schedule=None, start_date=pendulum.datetime(2023, 1, 1, tz="UTC"), catchup=False, doc_md="""
### Bash Decorator Example

This example DAG demonstates how to use the `@task.bash` decorator
to define tasks that execute Bash commands in Apache Airflow.

It shows:
- creating Bash tasks using the TaskFlow API
- passing parameters to Bash commands
- basic task execution within a decorator-based DAG

This DAG is intended for learning and demonstration purposes.


""",)
def example_bash_decorator():
"""
### Bash TaskFlow Decorator Example
Expand Down