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

Function disconnected

test/test_topology.py:79–81  ·  view source on GitHub ↗
(topology, server_address)

Source from the content-addressed store, hash-verified

77
78
79def disconnected(topology, server_address):
80 # Create new description of server type Unknown.
81 topology.on_change(ServerDescription(server_address))
82
83
84def get_server(topology, hostname):

Callers 1

test_unavailable_seedMethod · 0.85

Calls 2

ServerDescriptionClass · 0.90
on_changeMethod · 0.45

Tested by

no test coverage detected