Skip to content

Commit

Permalink
Fix dask backend dispatch (#12203)
Browse files Browse the repository at this point in the history
This PR fixes a failure being observed in `dask` upstream: dask/dask#9676

Authors:
   - GALI PREM SAGAR (https://github.com/galipremsagar)

Approvers:
   - Richard (Rick) Zamora (https://github.com/rjzamora)
  • Loading branch information
galipremsagar authored Nov 18, 2022
1 parent 782fba3 commit 21ba312
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions python/dask_cudf/dask_cudf/backends.py
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,12 @@ class CudfBackendEntrypoint(DataFrameBackendEntrypoint):

@staticmethod
def from_dict(
data, npartitions, orient="columns", dtype=None, columns=None
data,
npartitions,
orient="columns",
dtype=None,
columns=None,
constructor=cudf.DataFrame,
):

return _default_backend(
Expand All @@ -480,7 +485,7 @@ def from_dict(
orient=orient,
dtype=dtype,
columns=columns,
constructor=cudf.DataFrame,
constructor=constructor,
)

@staticmethod
Expand Down

0 comments on commit 21ba312

Please sign in to comment.