issue_comments: 373092099
This data as json
| html_url | issue_url | id | node_id | user | created_at | updated_at | author_association | body | reactions | performed_via_github_app | issue |
|---|---|---|---|---|---|---|---|---|---|---|---|
| https://github.com/pydata/xarray/pull/1811#issuecomment-373092099 | https://api.github.com/repos/pydata/xarray/issues/1811 | 373092099 | MDEyOklzc3VlQ29tbWVudDM3MzA5MjA5OQ== | 1217238 | 2018-03-14T16:45:25Z | 2018-03-14T16:45:25Z | MEMBER | To elaborate a little bit on my last comment (which I submitted very quickly when my bus was arriving), the way to make dependent tasks with dask.delayed is to add dummy function arguments, e.g., ```python def finalize_store(store, write): del write # unused store.sync() store.close() write = dask.array.store(..., compute=False) write_and_close = dask.delayed(finalize_store)(store, write) write_and_close.compute() # writes and syncs ``` Potentially some of this logic could get moved into |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
286542795 |