Skip to content

dask.compute traverses python collections#1975

Merged
jcrist merged 1 commit intodask:masterfrom
jcrist:compute-nested
Feb 10, 2017
Merged

dask.compute traverses python collections#1975
jcrist merged 1 commit intodask:masterfrom
jcrist:compute-nested

Conversation

@jcrist
Copy link
Member

@jcrist jcrist commented Feb 10, 2017

Previously the top-level function dask.compute would pass through
all non-dask objects. We now wrap all python collections in
dask.delayed, allowing compute to handle builtin python
collections containing dask objects. Fixes #1968.

Previously the top-level function ``dask.compute`` would pass through
all non-dask objects. We now wrap all python collections in
``dask.delayed``, allowing ``compute`` to handle builtin python
collections containing dask objects. Fixes dask#1968.
@jcrist
Copy link
Member Author

jcrist commented Feb 10, 2017

Ping @eriknw for review.

@eriknw
Copy link
Member

eriknw commented Feb 10, 2017

Hooray! LGTM.

@jcrist jcrist merged commit c8828ff into dask:master Feb 10, 2017
@jcrist jcrist deleted the compute-nested branch February 10, 2017 16:30
jcrist pushed a commit to jcrist/dask that referenced this pull request Feb 10, 2017
``dask.delayed.compute`` was removed in dask#1975, and was made a simple
alias to ``dask.base.compute``. This deprecates the function found here,
and redirects users to import from elsewhere.

``dask.delayed.do`` was renamed to ``dask.delayed.delayed`` in dask#1085,
making ``dask.delayed.do`` a simple alias. This PR deprecates that
alias. Users can always import ``dask.delayed`` as an alias if needed:

```
from dask import delayed as do
```
jcrist added a commit to jcrist/dask that referenced this pull request Feb 10, 2017
``dask.delayed.compute`` was removed in dask#1975, and was made a simple
alias to ``dask.base.compute``. This deprecates the function found here,
and redirects users to import from elsewhere.

``dask.delayed.do`` was renamed to ``dask.delayed.delayed`` in dask#1085,
making ``dask.delayed.do`` a simple alias. This PR deprecates that
alias. Users can always import ``dask.delayed`` as an alias if needed:

```
from dask import delayed as do
```
mrocklin pushed a commit that referenced this pull request Feb 12, 2017
``dask.delayed.compute`` was removed in #1975, and was made a simple
alias to ``dask.base.compute``. This deprecates the function found here,
and redirects users to import from elsewhere.

``dask.delayed.do`` was renamed to ``dask.delayed.delayed`` in #1085,
making ``dask.delayed.do`` a simple alias. This PR deprecates that
alias. Users can always import ``dask.delayed`` as an alias if needed:

```
from dask import delayed as do
```
@sinhrks sinhrks added this to the 0.14.0 milestone Mar 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants