Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
176
def
sanitize_reply(reply):
177
cp = reply.copy()
178
cp.pop(
"$clusterTime"
, None)
179
cp.pop(
"operationTime"
, None)
180
return
cp
181
182
183
def
print_thread_tracebacks() -> None:
Callers
2
assertEqualReply
Method · 0.90
assertEqualReply
Method · 0.90
Calls
2
copy
Method · 0.80
pop
Method · 0.45
Tested by
no test coverage detected