MCPcopy Index your code
hub / github.com/mongodb/mongo-python-driver / run

Method run

test/asynchronous/test_gridfs_bucket.py:60–64  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

58 self.daemon = True
59
60 async def run(self):
61 for _ in range(self.num):
62 file = self.gfs.open_upload_stream("test")
63 await file.write(b"hello")
64 await file.close()
65
66
67class JustRead(ConcurrentRunner):

Callers

nothing calls this directly

Calls 3

open_upload_streamMethod · 0.45
writeMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected