MCPcopy Create free account
hub / github.com/mongodb/mongo-python-driver / got_hello

Function got_hello

test/asynchronous/test_discovery_and_monitoring.py:114–116  ·  view source on GitHub ↗
(topology, server_address, hello_response)

Source from the content-addressed store, hash-verified

112
113
114async def got_hello(topology, server_address, hello_response):
115 server_description = ServerDescription(server_address, Hello(hello_response), 0)
116 await topology.on_change(server_description)
117
118
119async def got_app_error(topology, app_error):

Callers 2

run_scenarioFunction · 0.70
send_cluster_timeMethod · 0.70

Calls 3

ServerDescriptionClass · 0.90
HelloClass · 0.90
on_changeMethod · 0.45

Tested by

no test coverage detected