Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/mongodb/mongo-python-driver
/ create_resource
Method
create_resource
test/test_load_balancer.py:78–81 ·
view source on GitHub ↗
(coll)
Source
from the content-addressed store, hash-verified
76
@client_context.require_failCommand_fail_point
77
def
test_cursor_gc(self):
78
def
create_resource(coll):
79
cursor = coll.find({}, batch_size=3)
80
next(cursor)
81
return
cursor
82
83
self._test_no_gc_deadlock(create_resource)
84
Callers
nothing calls this directly
Calls
3
next
Function · 0.90
find
Method · 0.45
aggregate
Method · 0.45
Tested by
no test coverage detected