Skip to content

Commit

Permalink
remove dict
Browse files Browse the repository at this point in the history
  • Loading branch information
galipremsagar committed Sep 21, 2021
1 parent f8bd002 commit 7cea00f
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions dask_cuda/proxy_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -441,14 +441,12 @@ def __array_ufunc__(self, ufunc, method, *inputs, **kwargs):
o._obj_pxy_deserialize() if isinstance(o, ProxyObject) else o
for o in inputs
)
kwargs = dict(
{
key: value._obj_pxy_deserialize()
if isinstance(value, ProxyObject)
else value
for key, value in kwargs.items()
}
)
kwargs = {
key: value._obj_pxy_deserialize()
if isinstance(value, ProxyObject)
else value
for key, value in kwargs.items()
}
return self._obj_pxy_deserialize().__array_ufunc__(
ufunc, method, *inputs, **kwargs
)
Expand Down

0 comments on commit 7cea00f

Please sign in to comment.