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

Method callback

test/mockupdb/test_cluster_time.py:71–73  ·  view source on GitHub ↗
(client)

Source from the content-addressed store, hash-verified

69
70 def test_command(self):
71 def callback(client):
72 client.db.command("ping")
73 client.db.command("ping")
74
75 self.cluster_time_conversation(callback, [{"ok": 1}] * 2)
76

Callers

nothing calls this directly

Calls 8

InsertOneClass · 0.90
UpdateOneClass · 0.90
DeleteManyClass · 0.90
commandMethod · 0.45
bulk_writeMethod · 0.45
findMethod · 0.45
aggregateMethod · 0.45
explainMethod · 0.45

Tested by

no test coverage detected