Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/mongodb/mongo-python-driver
/ run
Method
run
test/test_gridfs.py:72–77 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
70
self.daemon = True
71
72
def
run(self):
73
for
_ in range(self.n):
74
file = self.fs.get(
"test"
)
75
data = file.read()
76
self.results.append(data)
77
assert data == b
"hello"
78
79
80
class
TestGridfsNoConnect(unittest.TestCase):
Callers
nothing calls this directly
Calls
2
get
Method · 0.45
read
Method · 0.45
Tested by
no test coverage detected