MCPcopy
hub / github.com/encode/httpx / read

Method read

tests/test_multipart.py:393–394  ·  view source on GitHub ↗
(self, *args: typing.Any)

Source from the content-addressed store, hash-verified

391 self._iterator = iterator
392
393 def read(self, *args: typing.Any) -> bytes:
394 return b"".join(self._iterator)
395
396 def data() -> typing.Iterator[bytes]:
397 yield b"Hello"

Callers 7

test_downloadFunction · 0.45
test_streamFunction · 0.45
echo_bodyFunction · 0.45
output_generatorFunction · 0.45
test_loggingFunction · 0.45
test_stream_responseFunction · 0.45

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected