docs: match task input tuple in explanation (#1337)

This commit is contained in:
shabeeth2
2026-10-05 06:22:06 -04:00
committed by GitHub
parent 4e2efa2cbc
commit d7e3e29ac3
+1 -1
View File
@@ -86,7 +86,7 @@ workflow = Workflow([Task(lambda x: [y * 3 for y in x], unpack=False, column=0)]
list(workflow([(2, 8)]))
```
For the example input tuple of (2, 2), the workflow will only select the first element (2) and run the task against that element.
For the example input tuple of (2, 8), the workflow will only select the first element (2) and run the task against that element.
```python
workflow = Workflow([Task([lambda x: [y * 3 for y in x],