Skip to content

Commit

Permalink
use starmap
Browse files Browse the repository at this point in the history
  • Loading branch information
sadikneipp committed Nov 27, 2024
1 parent 4da7b43 commit f4dd5db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pathwaysutils/persistence/pathways_orbax_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ async def deserialize(
)
]
with Pool() as p:
grouped_arrays_and_futures = p.map(f, *args_list)
grouped_arrays_and_futures = p.starmap(f, args_list)
# grouped_arrays_and_futures = [
# f(
# location=location,
Expand Down

0 comments on commit f4dd5db

Please sign in to comment.