Skip to content

Removing compute call from _array_like_safe #7181

@jakirkham

Description

@jakirkham

In PR ( #7162 ), we needed to add a .compute(scheduler="sync") call in one case (see below). While this seems ok for the cases where we needed it (concrete arrays, scalars, and Python objects). There's the potential this could be used on other objects (like Dask Arrays) where we would not want to use this. It would be good to figure out another way to solve this problem (if possible) that does not rely on the usage of compute.

a = a.compute(scheduler="sync")

cc @pentschev @jrbourbeau

Metadata

Metadata

Assignees

No one assigned

    Labels

    arrayneeds attentionIt's been a while since this was pushed on. Needs attention from the owner or a maintainer.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions