Skip to content

Commit

Permalink
Deprecate ds.lazy() since Dataset is lazy already (ray-project#33812)
Browse files Browse the repository at this point in the history
ray-project#31639
Signed-off-by: Jack He <[email protected]>
  • Loading branch information
jianoaix authored and ProjectsByJackHe committed May 4, 2023
1 parent cb06071 commit a309593
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions python/ray/data/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -4131,6 +4131,10 @@ def get_internal_block_refs(self) -> List[ObjectRef[Block]]:
self._synchronize_progress_bar()
return blocks

@Deprecated(
message="Dataset is lazy by default, so this conversion call is no longer "
"needed and this API will be removed in a future release"
)
def lazy(self) -> "Dataset[T]":
"""Enable lazy evaluation.
Expand Down

0 comments on commit a309593

Please sign in to comment.