dask / dask/distributed

Enable "Traverse" for client.persist(..)

Open
#3,518 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.7k
Forks
778
Avg merge
2h 50m
Merged PRs (30d)
3

Description

Hello,

I am passing a python dict where the values are delayed objects.
Calling client.persist(my_dict) results in below error;

```
assert all(map(dask.is_dask_collection, collections))
```
source: https://github.com/dask/distributed/blob/master/distributed/client.py#L2882

I was wondering if it was possible to support traverse=True for client.persist(..) method, as it's supported for client.compute(..).

I imagine the "if traverse.." block from client.compute could also fit for client.traverse?
source: https://github.com/dask/distributed/blob/master/distributed/client.py#L2750-L2756

Thanks all!

Best,
Jenna

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.