Update UPDATING.md (#11172)
This commit is contained in:
Родитель
f16354bc02
Коммит
2d831fbbc5
|
@ -1185,7 +1185,7 @@ dag >> dummy
|
|||
This is no longer supported. Instead, we recommend using the DAG as context manager:
|
||||
|
||||
```python
|
||||
with DAG('my_dag'):
|
||||
with DAG('my_dag') as dag:
|
||||
dummy = DummyOperator(task_id='dummy')
|
||||
```
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче