Skip to content

Commit

Permalink
Merge branch 'cachey' of github.com:mrocklin/dask into cachey
Browse files Browse the repository at this point in the history
Conflicts:
	dask/async.py
	dask/diagnostics/cache.py
	dask/diagnostics/tests/test_cache.py
  • Loading branch information
mrocklin committed Aug 3, 2015
2 parents dcfebeb + 821c972 commit 571422c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions dask/async.py
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,10 @@ def get_async(apply_async, num_workers, dsk, result, cache=None,
result_flat = set([result])
results = set(result_flat)

<<<<<<< HEAD
dsk = dsk.copy()
=======
>>>>>>> 821c9728341e13f229b0fd8f41b5d553dcad1ff7
for f in start_cbs:
f(dsk)

Expand Down
1 change: 0 additions & 1 deletion dask/diagnostics/cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ class Cache(Diagnostic):
>>> cache.register() # or use globally
>>> cache.unregister()
"""

def __init__(self, cache, *args, **kwargs):
if isinstance(cache, Number):
cache = cachey.Cache(cache, *args, **kwargs)
Expand Down

0 comments on commit 571422c

Please sign in to comment.