Skip to content

Commit

Permalink
remove finalize_compute from persist
Browse files Browse the repository at this point in the history
  • Loading branch information
fjetter committed Sep 8, 2023
1 parent f94b093 commit 4e615e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distributed/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -3595,7 +3595,7 @@ def persist(
result = []
for collection in collections:
graph = (
collection.finalize_compute().__dask_graph__()
collection.__dask_graph__()

Check warning on line 3598 in distributed/client.py

View check run for this annotation

Codecov / codecov/patch

distributed/client.py#L3595-L3598

Added lines #L3595 - L3598 were not covered by tests
# Currently optimize should be called on client side to
# fix dask keys
.optimize()
Expand Down

0 comments on commit 4e615e6

Please sign in to comment.