JavierLopezT opened a new issue #12894:
URL: https://github.com/apache/airflow/issues/12894
The current code of dag examples is in the form of:
```
dag = DAG(whatever)
task_1 = Operator(task_id='dfsa',
dag=dag)
```
As it is said in the docs (or in some article out written by a commiter
somewhere) it is better to have:
`with DAG(whatever):
`
I don't have time right now to make the changes
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]