You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/09/22 09:09:33 UTC
[GitHub] [airflow] ephraimbuddy commented on pull request #18278: Updating miscellaneous provider DAGs to use TaskFlow API where applicable
ephraimbuddy commented on pull request #18278:
URL: https://github.com/apache/airflow/pull/18278#issuecomment-924734485
Just thinking if we should show an example of using `@dag.task`?
```python
dag = DAG('dag_id')
@dag.task
def mytask():
print('something')
```
WDYT @josh-fell
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org