Skip to content

Commit 9888cc6

Browse files
committed
cleaned up Serailization section of tutorial
1 parent 62d801c commit 9888cc6

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

docs/source/tutorial/7-canonical-form.ipynb

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@
242242
"cell_type": "markdown",
243243
"metadata": {},
244244
"source": [
245-
"## Serialisation\n",
245+
"## Serialization\n",
246246
"\n",
247247
"As well as the dataclass-like canonical form, it is also possible to represent all tasks\n",
248248
"in a nested dictionary form, which could be written to a static file (e.g. in JSON or\n",
@@ -290,9 +290,8 @@
290290
"metadata": {},
291291
"source": [
292292
"Noting that there is still a little more work has to be done to serialise some Python\n",
293-
"objects, such as the `type` field and `xor` before it could be written to JSON/YAML. \n",
294-
"This is more challenging for task definitions containing Python functions such as Python\n",
295-
"and Workflow tasks or Shell tasks with converters, validators or callables, e.g."
293+
"objects, e.g. classes used in field types and functions that are run in Python and\n",
294+
"construct workflows in workflow tasks, before the serialized form can be written to JSON/YAML."
296295
]
297296
},
298297
{

0 commit comments

Comments
 (0)