Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/openai/openai-python
/ _on_response
Function
_on_response
tests/lib/snapshots.py:28–30 ·
view source on GitHub ↗
(response: httpx.Response)
Source
from the content-addressed store, hash-verified
26
if
live:
27
28
def
_on_response(response: httpx.Response) -> None:
29
# update the content snapshot
30
assert json.dumps(json.loads(response.read())) == content_snapshot
31
32
respx_mock.stop()
33
Callers
nothing calls this directly
Calls
2
aread
Method · 0.80
read
Method · 0.45
Tested by
no test coverage detected