Skip to content

Commit 7c20b32

Browse files
committed
enhance Broccoli.ipynb
1 parent eb47313 commit 7c20b32

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

notebooks/demo/Broccoli_readme_en.ipynb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@
4444
"### Implemented Canvas functionalities:\n",
4545
"\n",
4646
"- **[Chains](http://docs.celeryproject.org/en/latest/userguide/canvas.html#chains)** The main purpose is to cascade multiple operations, The result of previous operation is the parameter of the next operation. For example, the following example uses `chain` to perform ((4+4) * 8) * 10 = 640 \n",
47-
"   \n",
47+
"\n",
48+
"\n",
4849
"```\n",
4950
">>> # (4 + 4) * 8 * 10\n",
5051
">>> res = chain(add.s(4, 4), mul.s(8), mul.s(10))\n",
@@ -55,7 +56,7 @@
5556
"640\n",
5657
"```\n",
5758
"\n",
58-
"- **[Groups](http://docs.celeryproject.org/en/latest/userguide/canvas.html#groups)** main purpose is to parallel multiple operations, sending multiple homogeneity tasks to many remote workers for processing, and then collect results returned by the workers, combine them into a set of results. For example, the following example uses `group` to calculate (2+2) and (4+4) simultaneously. The result is [4, 8]\n",
59+
"- **[Groups](http://docs.celeryproject.org/en/latest/userguide/canvas.html#groups)** main purpose is to parallel multiple operations, sending multiple homogeneity tasks to many remote workers for processing, and then collect results returned by the workers, combine them into a set of results. For example, the following example uses `group` to calculate (2+2) and (4+4) simultaneously. The result is [4, 8] \n",
5960
"\n",
6061
"```\n",
6162
">>> group(add.s(2, 2), add.s(4, 4))\n",

0 commit comments

Comments
 (0)