jonathankibg opened a new pull request, #69550:
URL: https://github.com/apache/airflow/pull/69550
This PR fixes a small inconsistency in the `chain()` documentation example.
The preceding example demonstrates:
```python
chain(op1, op2, op3, op4)
```
which chains four tasks.
However, the equivalent dynamic example immediately below creates five tasks:
```python
chain(*[EmptyOperator(task_id=f"op{i}") for i in range(1, 6)])
```
This change updates the range to create four operators instead, making both
examples equivalent and easier to compare.
This is a documentation-only change and does not affect Airflow behavior.
---
##### Was generative AI tooling used to co-author this PR?
- [x] Yes (ChatGPT)
<!--
Generated-by: ChatGPT following the guidelines:
https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions
-->
--
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]