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

Function get_addresses

test/utils_selection_tests_shared.py:29–35  ·  view source on GitHub ↗
(server_list)

Source from the content-addressed store, hash-verified

27
28
29def get_addresses(server_list):
30 seeds = []
31 hosts = []
32 for server in server_list:
33 seeds.append(clean_node(server["address"]))
34 hosts.append(server["address"])
35 return seeds, hosts
36
37
38def make_last_write_date(server):

Callers 8

create_topologyFunction · 0.90
run_scenarioFunction · 0.90
create_topologyFunction · 0.90
run_scenarioFunction · 0.90

Calls 1

clean_nodeFunction · 0.90

Tested by

no test coverage detected