MCPcopy Index your code
hub / github.com/python/mypy / read

Method read

mypy/ipc.py:87–88  ·  view source on GitHub ↗
(self, size: int = MAX_READ)

Source from the content-addressed store, hash-verified

85 return bytes(bdata)
86
87 def read(self, size: int = MAX_READ) -> str:
88 return self.read_bytes(size).decode("utf-8")
89
90 def read_bytes(self, size: int = MAX_READ) -> bytes:
91 """Read bytes from an IPC connection until we have a full frame."""

Callers

nothing calls this directly

Calls 2

read_bytesMethod · 0.95
decodeMethod · 0.45

Tested by

no test coverage detected