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

Method asyncSetUp

test/asynchronous/__init__.py:1213–1217  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1211 # with loadBalanced=True.
1212 @async_client_context.require_no_load_balancer
1213 async def asyncSetUp(self) -> None:
1214 await super().asyncSetUp()
1215
1216 self.client_knobs = client_knobs(heartbeat_frequency=0.001, min_heartbeat_interval=0.001)
1217 self.client_knobs.enable()
1218
1219 async def asyncTearDown(self) -> None:
1220 self.client_knobs.disable()

Callers

nothing calls this directly

Calls 3

client_knobsClass · 0.90
asyncSetUpMethod · 0.45
enableMethod · 0.45

Tested by

no test coverage detected