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

Function get_topology_settings_dict

test/utils_selection_tests.py:46–53  ·  view source on GitHub ↗
(**kwargs)

Source from the content-addressed store, hash-verified

44
45
46def get_topology_settings_dict(**kwargs):
47 settings = {
48 "monitor_class": DummyMonitor,
49 "heartbeat_frequency": HEARTBEAT_FREQUENCY,
50 "pool_class": MockPool,
51 }
52 settings.update(kwargs)
53 return settings
54
55
56def create_topology(scenario_def, **kwargs):

Callers 3

create_topologyFunction · 0.70

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected