diff --git a/docs/source/tutorial.ipynb b/docs/source/tutorial.ipynb index fe25892d..af1ed795 100644 --- a/docs/source/tutorial.ipynb +++ b/docs/source/tutorial.ipynb @@ -281,7 +281,7 @@ " def continue_fn(self):\n", " print('continuing')\n", " # message is stored in the process status\n", - " return plumpy.Kill('I was killed')\n", + " return plumpy.Kill(plumpy.KillMessage.build('I was killed'))\n", "\n", "\n", "process = ContinueProcess()\n",