Skip to content

Commit

Permalink
Deprecate ds.lazy() since Dataset is lazy already (#33812)
Browse files Browse the repository at this point in the history
  • Loading branch information
jianoaix committed Mar 29, 2023
1 parent b9a8ee9 commit dc0cee4
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 dc0cee4

Please sign in to comment.