Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions python/ray/data/_internal/datasource/mcap_datasource.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,9 @@ def _read_stream(self, f: "pyarrow.NativeFile", path: str) -> Iterator[Block]:
Raises:
ValueError: If the MCAP file cannot be read or has invalid format.
"""
import mcap
from mcap.reader import make_reader

reader = mcap.reader.make_reader(f)
reader = make_reader(f)
# Note: MCAP summaries are optional and iter_messages works without them
# We don't need to validate the summary since it's not required

Expand Down