Skip to content

Commit

Permalink
[Datasets] Remove the non-useful comment in map_batches() (ray-proj…
Browse files Browse the repository at this point in the history
…ect#32020)

This PR is a quick fix to remove the non-useful comment introduced in ray-project#31526, probably during debugging.

Replace the comment with a meaningful one.

Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
  • Loading branch information
c21 authored and edoakes committed Mar 22, 2023
1 parent 78d4d74 commit 79efde0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/ray/data/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ def map_batches(
zero_copy_batch=zero_copy_batch,
)

# breakpoint()
# TODO(chengsu): pass function name to MapBatches logical operator.
if hasattr(fn, "__self__") and isinstance(
fn.__self__, ray.data.preprocessor.Preprocessor
):
Expand Down

0 comments on commit 79efde0

Please sign in to comment.