(cls, buf: ReadBuffer)
| 5205 | |
| 5206 | @classmethod |
| 5207 | def read(cls, buf: ReadBuffer) -> SccRequestMessage: |
| 5208 | return SccRequestMessage( |
| 5209 | scc_ids=read_int_list(buf), |
| 5210 | import_errors={ |
| 5211 | read_str(buf): [ErrorInfo.read(buf) for _ in range(read_int_bare(buf))] |
| 5212 | for _ in range(read_int_bare(buf)) |
| 5213 | }, |
| 5214 | mod_data={ |
| 5215 | read_str_bare(buf): ( |
| 5216 | read_bytes(buf), |
| 5217 | FileRawData.read(buf) if read_bool(buf) else None, |
| 5218 | ) |
| 5219 | for _ in range(read_int_bare(buf)) |
| 5220 | }, |
| 5221 | ) |
| 5222 | |
| 5223 | def write(self, buf: WriteBuffer) -> None: |
| 5224 | write_tag(buf, SCC_REQUEST_MESSAGE) |
nothing calls this directly
no test coverage detected