MCPcopy Create free account
hub / github.com/aio-libs/aiohttp / acquire

Function acquire

tests/test_web_response.py:62–63  ·  view source on GitHub ↗
(cb)

Source from the content-addressed store, hash-verified

60 writer = mock.Mock()
61
62 def acquire(cb):
63 cb(writer.transport)
64
65 def buffer_data(chunk):
66 buf.extend(chunk)

Callers

nothing calls this directly

Calls 1

cbFunction · 0.70

Tested by

no test coverage detected