MCPcopy Create free account
hub / github.com/PowerGridModel/power-grid-model / __init__

Method __init__

tests/unit/test_serialization.py:31–35  ·  view source on GitHub ↗
(self, initial_bytes: bytes | bytearray = b"2")

Source from the content-addressed store, hash-verified

29
30class FakeRawIO(io.RawIOBase):
31 def __init__(self, initial_bytes: bytes | bytearray = b"2"):
32 super().__init__()
33 self._buf = bytearray(initial_bytes)
34 self._pos = 0
35 self._closed = False
36
37 # --- Capability flags ---
38 def readable(self) -> bool:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected