kaxil commented on code in PR #43079:
URL: https://github.com/apache/airflow/pull/43079#discussion_r1803085655
##########
docs/apache-airflow/core-concepts/dags.rst:
##########
@@ -125,7 +125,7 @@ And if you want to chain together dependencies, you can use
``chain``::
chain(op1, op2, op3, op4)
# You can also do it dynamically
- chain(*[EmptyOperator(task_id='op' + i) for i in range(1, 6)])
+ chain(*[EmptyOperator(task_id='op' + str(i)) for i in range(1, 6)])
Review Comment:
Let's just do the following
```suggestion
chain(*[EmptyOperator(task_id=f"op{i}") for i in range(1, 6)])
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]