Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upUpdate TaskFlow API example to use `@dag` decorator #12269
Comments
|
Do we need other example than this one? airflow/airflow/example_dags/example_dag_decorator.py Lines 43 to 67 in 0cd1c84 |
|
I was thinking more on having a more end to end example for the tutorial? |
|
We could update an example in #12170 to use the |
|
Is this what you had in mind? |
|
@eflann yes. Commenting in the PR |
|
+1 to that change |


Description
Update https://github.com/apache/airflow/blob/master/airflow/example_dags/tutorial_taskflow_api_etl.py tp use
@dagdecorator instead of leveraging context manager to make it more TaskFlow-y.