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

Method do_task

test/performance/async_perf_test.py:218–221  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

216 await self.client.drop_database("perftest")
217
218 async def do_task(self):
219 command = self.client.perftest.command
220 for _ in range(NUM_DOCS):
221 await command("hello", True)
222
223
224class TestRunCommand8Tasks(TestRunCommand):

Callers

nothing calls this directly

Calls 1

commandFunction · 0.50

Tested by

no test coverage detected