python/ray/data/impl/block_list.py
def _check_if_cleared(self) -> None:
        """Raise an error if this BlockList has been previously cleared."""
        if self._blocks is None:
            raise ValueError(
                "This Dataset's blocks have been moved, which means that you "
                "can no longer use this Dataset."
            )
Raise an error if this BlockList has been previously cleared.
Raise an error if this BlockList has been previously cleared.
Raise an error if this BlockList has been previously cleared .
def _check_if_cleared(self) -> None:
        if self._blocks is None:
            raise ValueError(
                "This Dataset's blocks have been moved, which means that you "
                "can no longer use this Dataset."
            )
def _check_if_cleared ( self ) -> None : if self . _blocks is None : raise ValueError ( "This Dataset's blocks have been moved, which means that you " "can no longer use this Dataset." )
Raise an error if this BlockList has been previously cleared.
Raise an error if this BlockList has been previously cleared .
"""Raise an error if this BlockList has been previously cleared."""
self