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

Method callback

test/test_client.py:2590–2591  ·  view source on GitHub ↗
(client)

Source from the content-addressed store, hash-verified

2588
2589 def test_network_error_on_query(self):
2590 def callback(client):
2591 return client.db.collection.find_one()
2592
2593 self._test_network_error(callback)
2594

Callers

nothing calls this directly

Calls 5

find_oneMethod · 0.45
insert_oneMethod · 0.45
update_oneMethod · 0.45
replace_oneMethod · 0.45
delete_manyMethod · 0.45

Tested by

no test coverage detected