Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/mongodb/mongo-python-driver
/ read
Method
read
gridfs/synchronous/grid_file.py:1317–1318 ·
view source on GitHub ↗
(self, size: int = -1)
Source
from the content-addressed store, hash-verified
1315
object.__setattr__(self,
"_closed"
, True)
1316
1317
def
read(self, size: int = -1) -> NoReturn:
1318
raise
io.UnsupportedOperation(
"read"
)
1319
1320
def
readable(self) -> bool:
1321
return
False
Callers
15
write_combined_req_files
Function · 0.45
run
Method · 0.45
test_basic
Method · 0.45
test_empty_file
Method · 0.45
test_corrupt_chunk
Method · 0.45
test_alt_collection
Method · 0.45
test_threaded_writes
Method · 0.45
test_get_last_version
Method · 0.45
test_get_version
Method · 0.45
test_upload_from_stream
Method · 0.45
test_upload_from_stream_with_id
Method · 0.45
test_open_upload_stream
Method · 0.45
Calls
no outgoing calls
Tested by
15
run
Method · 0.36
test_basic
Method · 0.36
test_empty_file
Method · 0.36
test_corrupt_chunk
Method · 0.36
test_alt_collection
Method · 0.36
test_threaded_writes
Method · 0.36
test_get_last_version
Method · 0.36
test_get_version
Method · 0.36
test_upload_from_stream
Method · 0.36
test_upload_from_stream_with_id
Method · 0.36
test_open_upload_stream
Method · 0.36
test_open_upload_stream_with_id
Method · 0.36