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

Method run

test/test_gridfs.py:57–61  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

55 self.daemon = True
56
57 def run(self):
58 for _ in range(self.n):
59 file = self.fs.new_file(filename="test")
60 file.write(b"hello")
61 file.close()
62
63
64class JustRead(ConcurrentRunner):

Callers

nothing calls this directly

Calls 3

new_fileMethod · 0.45
writeMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected