Skip to content

Commit

Permalink
Revert pympipool max_* argument syntax back to concurrent.futures sta…
Browse files Browse the repository at this point in the history
…ndard
  • Loading branch information
liamhuber committed Jul 23, 2024
1 parent 329989f commit 4c94ebb
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions notebooks/deepdive.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -4093,10 +4093,7 @@
"wf.starting_nodes = [wf.a, wf.b, wf.c]\n",
"\n",
"\n",
"# with wf.create.Executor(max_workers=3) as executor:\n",
"# pympipool.Executor does not conform to the concurrent.futures.Executor signature\n",
"# use max_cores instead of max_workers\n",
"with wf.create.Executor(max_cores=3) as executor:\n",
"with wf.create.Executor(max_workers=3) as executor:\n",
" wf.a.executor = executor\n",
" wf.b.executor = executor\n",
" wf.c.executor = executor\n",
Expand Down

0 comments on commit 4c94ebb

Please sign in to comment.