Skip to content

Commit

Permalink
FIX-modin-project#2844: Correct object reference type to ObjectIDType.
Browse files Browse the repository at this point in the history
Signed-off-by: Rehan S. Durrani <rdurrani@berkeley.edu>
  • Loading branch information
RehanSD committed Mar 12, 2021
1 parent 470880d commit 2e33d9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modin/engines/ray/pandas_on_ray/frame/partition.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ def ip(self):
self.drain_call_queue()
else:
self._ip_cache = self.apply(lambda df: df)._ip_cache
if isinstance(self._ip_cache, (ray.ObjectID, ClientObjectRef)):
if isinstance(self._ip_cache, ObjectIDType):
try:
self._ip_cache = ray.get(self._ip_cache)
except RayTaskError as e:
Expand Down

0 comments on commit 2e33d9c

Please sign in to comment.