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

Function _async_create_lock

pymongo/lock.py:56–58  ·  view source on GitHub ↗

Represents an asyncio.Lock.

()

Source from the content-addressed store, hash-verified

54
55
56def _async_create_lock() -> Lock:
57 """Represents an asyncio.Lock."""
58 return Lock()
59
60
61def _create_condition(

Callers 15

test_max_pool_sizeMethod · 0.90
test_waitMethod · 0.90
test_wait_cancelMethod · 0.90
test_wait_unacquiredMethod · 0.90
test_wait_forMethod · 0.90
test_notifyMethod · 0.90
test_notify_allMethod · 0.90
test_context_managerMethod · 0.90

Calls 1

LockClass · 0.85

Tested by 15

test_max_pool_sizeMethod · 0.72
test_waitMethod · 0.72
test_wait_cancelMethod · 0.72
test_wait_unacquiredMethod · 0.72
test_wait_forMethod · 0.72
test_notifyMethod · 0.72
test_notify_allMethod · 0.72
test_context_managerMethod · 0.72