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

Function got_hello

test/test_topology.py:73–76  ·  view source on GitHub ↗
(topology, server_address, hello_response)

Source from the content-addressed store, hash-verified

71
72
73def got_hello(topology, server_address, hello_response):
74 server_description = ServerDescription(server_address, Hello(hello_response), 0)
75
76 topology.on_change(server_description)
77
78
79def disconnected(topology, server_address):

Callers 15

test_closeMethod · 0.70
test_handle_errorMethod · 0.70
test_wire_versionMethod · 0.70
test_topology_reprMethod · 0.70
test_no_primaryMethod · 0.70
test_no_secondaryMethod · 0.70

Calls 3

ServerDescriptionClass · 0.90
HelloClass · 0.90
on_changeMethod · 0.45

Tested by

no test coverage detected