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

Method find_one

test/asynchronous/test_pooling.py:405–406  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

403
404 # Run 50 short running operations
405 async def find_one():
406 docs.append(await client.test.test.find_one({}))
407
408 tasks = [ConcurrentRunner(target=find_one) for _ in range(50)]
409 for task in tasks:

Calls

no outgoing calls

Tested by

no test coverage detected