diff --git a/docs/tutorials/5-dynamic-flows.ipynb b/docs/tutorials/5-dynamic-flows.ipynb index b99861ed..43844076 100644 --- a/docs/tutorials/5-dynamic-flows.ipynb +++ b/docs/tutorials/5-dynamic-flows.ipynb @@ -43,7 +43,11 @@ "id": "78348798", "metadata": { "nbsphinx": "hidden", - "tags": [] + "tags": [], + "ExecuteTime": { + "end_time": "2023-11-23T22:55:01.113171569Z", + "start_time": "2023-11-23T22:55:01.112486877Z" + } }, "outputs": [], "source": [ @@ -56,33 +60,38 @@ "cell_type": "code", "execution_count": 2, "id": "964a8c44", - "metadata": {}, + "metadata": { + "ExecuteTime": { + "end_time": "2023-11-23T22:55:03.025973341Z", + "start_time": "2023-11-23T22:55:01.974313960Z" + } + }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ - "2023-06-08 09:55:05,762 INFO Started executing jobs locally\n", - "2023-06-08 09:55:05,873 INFO Starting job - make_list (68b72ca9-00ae-430f-a61c-fbea22bbf0aa)\n", - "2023-06-08 09:55:05,874 INFO Finished job - make_list (68b72ca9-00ae-430f-a61c-fbea22bbf0aa)\n", - "2023-06-08 09:55:05,874 INFO Starting job - add_distributed (01821a62-3ee2-47f0-a6ca-fd373ea0ea09)\n", - "2023-06-08 09:55:05,875 INFO Finished job - add_distributed (01821a62-3ee2-47f0-a6ca-fd373ea0ea09)\n", - "2023-06-08 09:55:05,876 INFO Starting job - add (fbc49130-2bbe-49b0-a190-48815c03a0b0)\n", - "2023-06-08 09:55:05,876 INFO Finished job - add (fbc49130-2bbe-49b0-a190-48815c03a0b0)\n", - "2023-06-08 09:55:05,877 INFO Starting job - add (ca3636e3-50f7-4ec8-a5e7-66bc4e14b901)\n", - "2023-06-08 09:55:05,877 INFO Finished job - add (ca3636e3-50f7-4ec8-a5e7-66bc4e14b901)\n", - "2023-06-08 09:55:05,877 INFO Starting job - add (28dbe7c4-b29b-46c4-9d0c-2aee7334b999)\n", - "2023-06-08 09:55:05,878 INFO Finished job - add (28dbe7c4-b29b-46c4-9d0c-2aee7334b999)\n", - "2023-06-08 09:55:05,878 INFO Starting job - add (1bffefd1-4edc-43d5-b99f-b0833fca2b8d)\n", - "2023-06-08 09:55:05,879 INFO Finished job - add (1bffefd1-4edc-43d5-b99f-b0833fca2b8d)\n", - "2023-06-08 09:55:05,879 INFO Finished executing jobs locally\n" + "2023-11-23 23:55:02,807 INFO Started executing jobs locally\n", + "2023-11-23 23:55:02,937 INFO Starting job - make_list (d509897c-c318-4b2e-889e-a77331480a58)\n", + "2023-11-23 23:55:02,955 INFO Finished job - make_list (d509897c-c318-4b2e-889e-a77331480a58)\n", + "2023-11-23 23:55:02,956 INFO Starting job - add_distributed (7e07bfa4-a0cc-4535-b6c8-e3ec78fe96fb)\n", + "2023-11-23 23:55:02,963 INFO Finished job - add_distributed (7e07bfa4-a0cc-4535-b6c8-e3ec78fe96fb)\n", + "2023-11-23 23:55:03,005 INFO Starting job - add (62d7192e-d2af-4f28-a790-ac4987bd9f41)\n", + "2023-11-23 23:55:03,008 INFO Finished job - add (62d7192e-d2af-4f28-a790-ac4987bd9f41)\n", + "2023-11-23 23:55:03,009 INFO Starting job - add (d8a7d4aa-8255-417f-9cc8-bc9e16896d33)\n", + "2023-11-23 23:55:03,012 INFO Finished job - add (d8a7d4aa-8255-417f-9cc8-bc9e16896d33)\n", + "2023-11-23 23:55:03,012 INFO Starting job - add (15ce2067-8138-4692-baf8-8ceada256139)\n", + "2023-11-23 23:55:03,014 INFO Finished job - add (15ce2067-8138-4692-baf8-8ceada256139)\n", + "2023-11-23 23:55:03,015 INFO Starting job - add (43477f07-28fd-4944-9ae7-02f41282c8d3)\n", + "2023-11-23 23:55:03,017 INFO Finished job - add (43477f07-28fd-4944-9ae7-02f41282c8d3)\n", + "2023-11-23 23:55:03,018 INFO Finished executing jobs locally\n" ] }, { "name": "stderr", "output_type": "stream", "text": [ - "/Users/alexmganose/dev/src/jobflow/src/jobflow/utils/graph.py:53: UserWarning: Some jobs are not connected, their ordering may be random\n", + "/home/jgeorge/miniconda3/envs/AddJobflowTutorial/lib/python3.10/site-packages/jobflow/utils/graph.py:49: UserWarning: Some jobs are not connected, their ordering may be random\n", " warnings.warn(\"Some jobs are not connected, their ordering may be random\")\n" ] } @@ -120,18 +129,27 @@ "cell_type": "code", "execution_count": 3, "id": "82e368e6", - "metadata": {}, + "metadata": { + "ExecuteTime": { + "end_time": "2023-11-23T22:55:03.075177954Z", + "start_time": "2023-11-23T22:55:03.026408190Z" + } + }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ - "68b72ca9-00ae-430f-a61c-fbea22bbf0aa -> {1: Response(output=[2, 2, 2, 2], detour=None, addition=None, replace=None, stored_data=None, stop_children=False, stop_jobflow=False)}\n", - "01821a62-3ee2-47f0-a6ca-fd373ea0ea09 -> {1: Response(output=None, detour=None, addition=None, replace=, stored_data=None, stop_children=False, stop_jobflow=False)}\n", - "fbc49130-2bbe-49b0-a190-48815c03a0b0 -> {1: Response(output=3, detour=None, addition=None, replace=None, stored_data=None, stop_children=False, stop_jobflow=False)}\n", - "ca3636e3-50f7-4ec8-a5e7-66bc4e14b901 -> {1: Response(output=3, detour=None, addition=None, replace=None, stored_data=None, stop_children=False, stop_jobflow=False)}\n", - "28dbe7c4-b29b-46c4-9d0c-2aee7334b999 -> {1: Response(output=3, detour=None, addition=None, replace=None, stored_data=None, stop_children=False, stop_jobflow=False)}\n", - "1bffefd1-4edc-43d5-b99f-b0833fca2b8d -> {1: Response(output=3, detour=None, addition=None, replace=None, stored_data=None, stop_children=False, stop_jobflow=False)}\n" + "d509897c-c318-4b2e-889e-a77331480a58 -> {1: Response(output=[2, 2, 2, 2], detour=None, addition=None, replace=None, stored_data=None, stop_children=False, stop_jobflow=False)}\n", + "7e07bfa4-a0cc-4535-b6c8-e3ec78fe96fb -> {1: Response(output=None, detour=None, addition=None, replace=Flow(name='Flow', uuid='ab9475e6-781b-4560-a0cc-4c260f80762a')\n", + "1. Job(name='add', uuid='62d7192e-d2af-4f28-a790-ac4987bd9f41')\n", + "2. Job(name='add', uuid='d8a7d4aa-8255-417f-9cc8-bc9e16896d33')\n", + "3. Job(name='add', uuid='15ce2067-8138-4692-baf8-8ceada256139')\n", + "4. Job(name='add', uuid='43477f07-28fd-4944-9ae7-02f41282c8d3'), stored_data=None, stop_children=False, stop_jobflow=False)}\n", + "62d7192e-d2af-4f28-a790-ac4987bd9f41 -> {1: Response(output=3, detour=None, addition=None, replace=None, stored_data=None, stop_children=False, stop_jobflow=False)}\n", + "d8a7d4aa-8255-417f-9cc8-bc9e16896d33 -> {1: Response(output=3, detour=None, addition=None, replace=None, stored_data=None, stop_children=False, stop_jobflow=False)}\n", + "15ce2067-8138-4692-baf8-8ceada256139 -> {1: Response(output=3, detour=None, addition=None, replace=None, stored_data=None, stop_children=False, stop_jobflow=False)}\n", + "43477f07-28fd-4944-9ae7-02f41282c8d3 -> {1: Response(output=3, detour=None, addition=None, replace=None, stored_data=None, stop_children=False, stop_jobflow=False)}\n" ] } ], @@ -173,20 +191,25 @@ "cell_type": "code", "execution_count": 4, "id": "81870e55", - "metadata": {}, + "metadata": { + "ExecuteTime": { + "end_time": "2023-11-23T22:55:06.857848628Z", + "start_time": "2023-11-23T22:55:06.789602522Z" + } + }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ - "2023-06-08 09:55:07,374 INFO Started executing jobs locally\n", - "2023-06-08 09:55:07,377 INFO Starting job - add (8270f7cc-e12a-457b-adca-a196ee62ae85)\n", - "2023-06-08 09:55:07,379 INFO Finished job - add (8270f7cc-e12a-457b-adca-a196ee62ae85)\n", - "2023-06-08 09:55:07,380 INFO Starting job - add_with_logic (fd549146-aabb-4e4b-b79a-ca6b6fd2c172)\n", - "2023-06-08 09:55:07,382 INFO Finished job - add_with_logic (fd549146-aabb-4e4b-b79a-ca6b6fd2c172)\n", - "2023-06-08 09:55:07,384 INFO Starting job - add (9db2454f-4f1d-4d08-8497-1239cad74d0c)\n", - "2023-06-08 09:55:07,384 INFO Finished job - add (9db2454f-4f1d-4d08-8497-1239cad74d0c)\n", - "2023-06-08 09:55:07,385 INFO Finished executing jobs locally\n" + "2023-11-23 23:55:06,796 INFO Started executing jobs locally\n", + "2023-11-23 23:55:06,797 INFO Starting job - add (5630b6ba-1e9a-42ff-be51-ece43fe76643)\n", + "2023-11-23 23:55:06,800 INFO Finished job - add (5630b6ba-1e9a-42ff-be51-ece43fe76643)\n", + "2023-11-23 23:55:06,801 INFO Starting job - add_with_logic (008b1973-6421-418f-b47d-8f32054fedc8)\n", + "2023-11-23 23:55:06,807 INFO Finished job - add_with_logic (008b1973-6421-418f-b47d-8f32054fedc8)\n", + "2023-11-23 23:55:06,808 INFO Starting job - add (4e43d6b6-523a-4760-b1cf-3f68916e80fd)\n", + "2023-11-23 23:55:06,812 INFO Finished job - add (4e43d6b6-523a-4760-b1cf-3f68916e80fd)\n", + "2023-11-23 23:55:06,813 INFO Finished executing jobs locally\n" ] } ], @@ -211,15 +234,21 @@ "cell_type": "code", "execution_count": 5, "id": "fdc68eb5", - "metadata": {}, + "metadata": { + "ExecuteTime": { + "end_time": "2023-11-23T22:55:07.823489602Z", + "start_time": "2023-11-23T22:55:07.816907763Z" + } + }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ - "8270f7cc-e12a-457b-adca-a196ee62ae85 -> {1: Response(output=3, detour=None, addition=None, replace=None, stored_data=None, stop_children=False, stop_jobflow=False)}\n", - "fd549146-aabb-4e4b-b79a-ca6b6fd2c172 -> {1: Response(output=None, detour=None, addition=, replace=None, stored_data=None, stop_children=False, stop_jobflow=False)}\n", - "9db2454f-4f1d-4d08-8497-1239cad74d0c -> {1: Response(output=5, detour=None, addition=None, replace=None, stored_data=None, stop_children=False, stop_jobflow=False)}\n" + "5630b6ba-1e9a-42ff-be51-ece43fe76643 -> {1: Response(output=3, detour=None, addition=None, replace=None, stored_data=None, stop_children=False, stop_jobflow=False)}\n", + "008b1973-6421-418f-b47d-8f32054fedc8 -> {1: Response(output=None, detour=None, addition=Flow(name='Flow', uuid='1994a56f-6dd8-4e35-a187-76d27d808d09')\n", + "1. Job(name='add', uuid='4e43d6b6-523a-4760-b1cf-3f68916e80fd'), replace=None, stored_data=None, stop_children=False, stop_jobflow=False)}\n", + "4e43d6b6-523a-4760-b1cf-3f68916e80fd -> {1: Response(output=5, detour=None, addition=None, replace=None, stored_data=None, stop_children=False, stop_jobflow=False)}\n" ] } ], @@ -240,18 +269,23 @@ "cell_type": "code", "execution_count": 6, "id": "27569bd7", - "metadata": {}, + "metadata": { + "ExecuteTime": { + "end_time": "2023-11-23T22:55:09.827238198Z", + "start_time": "2023-11-23T22:55:09.755367636Z" + } + }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ - "2023-06-08 09:55:08,838 INFO Started executing jobs locally\n", - "2023-06-08 09:55:08,841 INFO Starting job - add (ec551667-1500-45cc-b61a-2361a18b99fd)\n", - "2023-06-08 09:55:08,843 INFO Finished job - add (ec551667-1500-45cc-b61a-2361a18b99fd)\n", - "2023-06-08 09:55:08,843 INFO Starting job - add_with_logic (e7d3fb53-fa56-45bd-9951-45b70028ada7)\n", - "2023-06-08 09:55:08,846 INFO Finished job - add_with_logic (e7d3fb53-fa56-45bd-9951-45b70028ada7)\n", - "2023-06-08 09:55:08,847 INFO Finished executing jobs locally\n" + "2023-11-23 23:55:09,755 INFO Started executing jobs locally\n", + "2023-11-23 23:55:09,756 INFO Starting job - add (92e3f817-1350-4492-aeee-ec3501bce66f)\n", + "2023-11-23 23:55:09,759 INFO Finished job - add (92e3f817-1350-4492-aeee-ec3501bce66f)\n", + "2023-11-23 23:55:09,759 INFO Starting job - add_with_logic (e20fe185-4e34-4422-914f-e0acb4cbd529)\n", + "2023-11-23 23:55:09,764 INFO Finished job - add_with_logic (e20fe185-4e34-4422-914f-e0acb4cbd529)\n", + "2023-11-23 23:55:09,765 INFO Finished executing jobs locally\n" ] } ], @@ -276,14 +310,19 @@ "cell_type": "code", "execution_count": 7, "id": "b8d0c011", - "metadata": {}, + "metadata": { + "ExecuteTime": { + "end_time": "2023-11-23T22:55:10.647133331Z", + "start_time": "2023-11-23T22:55:10.639661076Z" + } + }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ - "ec551667-1500-45cc-b61a-2361a18b99fd -> {1: Response(output=21, detour=None, addition=None, replace=None, stored_data=None, stop_children=False, stop_jobflow=False)}\n", - "e7d3fb53-fa56-45bd-9951-45b70028ada7 -> {1: Response(output=None, detour=None, addition=None, replace=None, stored_data=None, stop_children=False, stop_jobflow=False)}\n" + "92e3f817-1350-4492-aeee-ec3501bce66f -> {1: Response(output=21, detour=None, addition=None, replace=None, stored_data=None, stop_children=False, stop_jobflow=False)}\n", + "e20fe185-4e34-4422-914f-e0acb4cbd529 -> {1: Response(output=None, detour=None, addition=None, replace=None, stored_data=None, stop_children=False, stop_jobflow=False)}\n" ] } ], @@ -300,6 +339,92 @@ "Now, we see that the `Response(addition)` does not launch a new job.\n" ] }, + { + "cell_type": "markdown", + "source": [ + "In this way, one can also compute the Fibonacci numbers:" + ], + "metadata": { + "collapsed": false + } + }, + { + "cell_type": "code", + "execution_count": 8, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "2023-11-23 23:55:13,324 INFO Started executing jobs locally\n", + "2023-11-23 23:55:13,325 INFO Starting job - fibonacci (6f7a1e92-577f-4289-85e5-e07a82e542db)\n", + "2023-11-23 23:55:13,329 INFO Finished job - fibonacci (6f7a1e92-577f-4289-85e5-e07a82e542db)\n", + "2023-11-23 23:55:13,329 INFO Starting job - fibonacci (862ce31a-a963-419a-9862-f419c47c3c9e)\n", + "2023-11-23 23:55:13,332 INFO Finished job - fibonacci (862ce31a-a963-419a-9862-f419c47c3c9e)\n", + "2023-11-23 23:55:13,333 INFO Starting job - fibonacci (81c28a0a-f1ad-487c-b484-46729f6ca9a6)\n", + "2023-11-23 23:55:13,335 INFO Finished job - fibonacci (81c28a0a-f1ad-487c-b484-46729f6ca9a6)\n", + "2023-11-23 23:55:13,336 INFO Starting job - fibonacci (084e2022-5a00-4ca8-9edf-46977ca08388)\n", + "2023-11-23 23:55:13,338 INFO Finished job - fibonacci (084e2022-5a00-4ca8-9edf-46977ca08388)\n", + "2023-11-23 23:55:13,339 INFO Starting job - fibonacci (382f371c-9e92-4185-8dbb-829801ec1afd)\n", + "2023-11-23 23:55:13,342 INFO Finished job - fibonacci (382f371c-9e92-4185-8dbb-829801ec1afd)\n", + "2023-11-23 23:55:13,342 INFO Starting job - fibonacci (f4521225-993a-4b42-9818-8aaff0da9181)\n", + "2023-11-23 23:55:13,345 INFO Finished job - fibonacci (f4521225-993a-4b42-9818-8aaff0da9181)\n", + "2023-11-23 23:55:13,346 INFO Starting job - fibonacci (3d475e3e-3774-4015-b056-a23f5cf1da6a)\n", + "2023-11-23 23:55:13,349 INFO Finished job - fibonacci (3d475e3e-3774-4015-b056-a23f5cf1da6a)\n", + "2023-11-23 23:55:13,351 INFO Starting job - fibonacci (ddc61891-1ce1-4d96-b66e-cb60d52e642a)\n", + "2023-11-23 23:55:13,353 INFO Finished job - fibonacci (ddc61891-1ce1-4d96-b66e-cb60d52e642a)\n", + "2023-11-23 23:55:13,354 INFO Starting job - fibonacci (499ab638-d8cc-4272-b2b4-f64d246f3676)\n", + "2023-11-23 23:55:13,357 INFO Finished job - fibonacci (499ab638-d8cc-4272-b2b4-f64d246f3676)\n", + "2023-11-23 23:55:13,357 INFO Starting job - fibonacci (71b7d00f-0109-4a23-8a54-fb29ef143cd2)\n", + "2023-11-23 23:55:13,360 INFO Finished job - fibonacci (71b7d00f-0109-4a23-8a54-fb29ef143cd2)\n", + "2023-11-23 23:55:13,361 INFO Starting job - fibonacci (d60f3f5d-821a-434a-a8c1-50468b381d5f)\n", + "2023-11-23 23:55:13,363 INFO Finished job - fibonacci (d60f3f5d-821a-434a-a8c1-50468b381d5f)\n", + "2023-11-23 23:55:13,364 INFO Starting job - fibonacci (7828008e-2f89-4226-aaac-66f25d4ccf0a)\n", + "2023-11-23 23:55:13,367 INFO Finished job - fibonacci (7828008e-2f89-4226-aaac-66f25d4ccf0a)\n", + "2023-11-23 23:55:13,367 INFO Starting job - fibonacci (062b0cad-2b62-4f42-bd39-ac1b3c90d141)\n", + "2023-11-23 23:55:13,370 INFO Finished job - fibonacci (062b0cad-2b62-4f42-bd39-ac1b3c90d141)\n", + "2023-11-23 23:55:13,371 INFO Starting job - fibonacci (6c1bf8e4-1808-42b4-a99e-49dd031894bd)\n", + "2023-11-23 23:55:13,373 INFO Finished job - fibonacci (6c1bf8e4-1808-42b4-a99e-49dd031894bd)\n", + "2023-11-23 23:55:13,374 INFO Starting job - fibonacci (d82e352d-1ca3-40d2-85d1-3f08989d3551)\n", + "2023-11-23 23:55:13,376 INFO Finished job - fibonacci (d82e352d-1ca3-40d2-85d1-3f08989d3551)\n", + "2023-11-23 23:55:13,377 INFO Finished executing jobs locally\n" + ] + } + ], + "source": [ + "\"\"\"A dynamic workflow that calculates the Fibonacci sequence.\"\"\"\n", + "from jobflow import Response, job, run_locally\n", + "\n", + "\n", + "@job\n", + "def fibonacci(smaller, larger, stop_point=1000):\n", + " \"\"\"Calculate the next number in the Fibonacci sequence.\n", + "\n", + " If the number is larger than stop_point, the job will stop the workflow\n", + " execution, otherwise, a new job will be submitted to calculate the next number.\n", + " \"\"\"\n", + " total = smaller + larger\n", + "\n", + " if total > stop_point:\n", + " return total\n", + "\n", + " new_job = fibonacci(larger, total, stop_point=stop_point)\n", + " return Response(output=total, addition=new_job)\n", + "\n", + "\n", + "fibonacci_job = fibonacci(1, 1)\n", + "\n", + "# run the job; responses will contain the output from all jobs\n", + "responses = run_locally(fibonacci_job)\n" + ], + "metadata": { + "collapsed": false, + "ExecuteTime": { + "end_time": "2023-11-23T22:55:13.426518952Z", + "start_time": "2023-11-23T22:55:13.322421257Z" + } + } + }, { "cell_type": "markdown", "id": "5c0122e3", @@ -318,22 +443,27 @@ }, { "cell_type": "code", - "execution_count": 8, + "execution_count": 9, "id": "fee35a97", - "metadata": {}, + "metadata": { + "ExecuteTime": { + "end_time": "2023-11-23T22:55:16.347154656Z", + "start_time": "2023-11-23T22:55:16.266053982Z" + } + }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ - "2023-06-08 09:55:10,850 INFO Started executing jobs locally\n", - "2023-06-08 09:55:10,853 INFO Starting job - add (d5020d71-4bbc-4307-8fa5-c65d0d9b9b9a)\n", - "2023-06-08 09:55:10,855 INFO Finished job - add (d5020d71-4bbc-4307-8fa5-c65d0d9b9b9a)\n", - "2023-06-08 09:55:10,856 INFO Starting job - add_with_logic (8786b3c4-5697-4ed8-9f46-fd0c89e4c374)\n", - "2023-06-08 09:55:10,858 INFO Finished job - add_with_logic (8786b3c4-5697-4ed8-9f46-fd0c89e4c374)\n", - "2023-06-08 09:55:10,859 INFO Starting job - add (c33d72c2-f396-4f2c-898e-c667c0913dcb)\n", - "2023-06-08 09:55:10,859 INFO Finished job - add (c33d72c2-f396-4f2c-898e-c667c0913dcb)\n", - "2023-06-08 09:55:10,860 INFO Finished executing jobs locally\n" + "2023-11-23 23:55:16,275 INFO Started executing jobs locally\n", + "2023-11-23 23:55:16,278 INFO Starting job - add (301d75f0-7042-494a-9f24-cab0428c2fd1)\n", + "2023-11-23 23:55:16,281 INFO Finished job - add (301d75f0-7042-494a-9f24-cab0428c2fd1)\n", + "2023-11-23 23:55:16,282 INFO Starting job - add_with_logic (97be61a8-eec4-4e64-bf53-ba37621575e7)\n", + "2023-11-23 23:55:16,292 INFO Finished job - add_with_logic (97be61a8-eec4-4e64-bf53-ba37621575e7)\n", + "2023-11-23 23:55:16,293 INFO Starting job - add (d4c31f68-09ad-418a-ac52-89b303fc2a00)\n", + "2023-11-23 23:55:16,296 INFO Finished job - add (d4c31f68-09ad-418a-ac52-89b303fc2a00)\n", + "2023-11-23 23:55:16,296 INFO Finished executing jobs locally\n" ] } ], @@ -356,19 +486,20 @@ }, { "cell_type": "code", - "execution_count": 9, + "execution_count": 10, "id": "b3b7e8ba", - "metadata": {}, + "metadata": { + "ExecuteTime": { + "end_time": "2023-11-23T22:55:17.024836601Z", + "start_time": "2023-11-23T22:55:17.019427206Z" + } + }, "outputs": [ { "data": { - "text/plain": [ - "{'d5020d71-4bbc-4307-8fa5-c65d0d9b9b9a': {1: Response(output=3, detour=None, addition=None, replace=None, stored_data=None, stop_children=False, stop_jobflow=False)},\n", - " '8786b3c4-5697-4ed8-9f46-fd0c89e4c374': {1: Response(output=None, detour=, addition=None, replace=None, stored_data=None, stop_children=False, stop_jobflow=False)},\n", - " 'c33d72c2-f396-4f2c-898e-c667c0913dcb': {1: Response(output=5, detour=None, addition=None, replace=None, stored_data=None, stop_children=False, stop_jobflow=False)}}" - ] + "text/plain": "{'301d75f0-7042-494a-9f24-cab0428c2fd1': {1: Response(output=3, detour=None, addition=None, replace=None, stored_data=None, stop_children=False, stop_jobflow=False)},\n '97be61a8-eec4-4e64-bf53-ba37621575e7': {1: Response(output=None, detour=Flow(name='Flow', uuid='0de995a5-1110-4200-b010-276cb2017474')\n 1. Job(name='add', uuid='d4c31f68-09ad-418a-ac52-89b303fc2a00'), addition=None, replace=None, stored_data=None, stop_children=False, stop_jobflow=False)},\n 'd4c31f68-09ad-418a-ac52-89b303fc2a00': {1: Response(output=5, detour=None, addition=None, replace=None, stored_data=None, stop_children=False, stop_jobflow=False)}}" }, - "execution_count": 9, + "execution_count": 10, "metadata": {}, "output_type": "execute_result" } @@ -388,9 +519,9 @@ ], "metadata": { "kernelspec": { - "display_name": "atomate2", + "name": "python3", "language": "python", - "name": "atomate2" + "display_name": "Python 3 (ipykernel)" }, "language_info": { "codemirror_mode": {