(name: str)
| 152 | f"input {region} digest {actual} does not match declared {handle['sha256']}" |
| 153 | ) |
| 154 | return data |
| 155 | |
| 156 | |
| 157 | def _model_regions(request: dict) -> List[dict]: |
| 158 | """Echo the host's region table back verbatim. |
| 159 | |
| 160 | Anything else here is the adapter disagreeing with the host about what it |
| 161 | was given, which the host rejects rather than reconciles. |
| 162 | """ |
| 163 | return [ |
| 164 | { |
| 165 | "region": h["region"], |
| 166 | "size": h["size"], |
| 167 | "sha256": h["sha256"], |
| 168 | "virtual_address": h.get("virtual_address"), |
| 169 | "executable": h["executable"], |
| 170 | } |
| 171 | for h in request["inputs"] |
nothing calls this directly
no test coverage detected