Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dask/dask
/ read_block_from_file
Function
read_block_from_file
dask/bytes/core.py:190–194 ·
view source on GitHub ↗
(lazy_file, off, bs, delimiter)
Source
from the content-addressed store, hash-verified
188
189
190
def
read_block_from_file(lazy_file, off, bs, delimiter):
191
with
copy.copy(lazy_file)
as
f:
192
if
off == 0 and bs is None:
193
return
f.read()
194
return
read_block(f, off, bs, delimiter)
Callers
nothing calls this directly
Calls
1
copy
Method · 0.45
Tested by
no test coverage detected