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

Function async_setup

test/asynchronous/__init__.py:1224–1231  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1222
1223
1224async def async_setup():
1225 if not _IS_SYNC:
1226 # Set up the event loop.
1227 get_loop()
1228 await async_client_context.init()
1229 warnings.resetwarnings()
1230 warnings.simplefilter("always")
1231 global_knobs.enable()
1232
1233
1234async def async_teardown():

Callers 1

test_setup_and_teardownFunction · 0.90

Calls 3

get_loopFunction · 0.70
initMethod · 0.45
enableMethod · 0.45

Tested by 1

test_setup_and_teardownFunction · 0.72