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

Function sanitize_reply

test/helpers_shared.py:176–180  ·  view source on GitHub ↗
(reply)

Source from the content-addressed store, hash-verified

174
175
176def sanitize_reply(reply):
177 cp = reply.copy()
178 cp.pop("$clusterTime", None)
179 cp.pop("operationTime", None)
180 return cp
181
182
183def print_thread_tracebacks() -> None:

Callers 2

assertEqualReplyMethod · 0.90
assertEqualReplyMethod · 0.90

Calls 2

copyMethod · 0.80
popMethod · 0.45

Tested by

no test coverage detected