MCPcopy Create free account
hub / github.com/caverav/flutterdec / _entrypoint_selector_from_name

Function _entrypoint_selector_from_name

adapters/python/adapter_template.py:154–168  ·  view source on GitHub ↗
(name: str)

Source from the content-addressed store, hash-verified

152 f"input {region} digest {actual} does not match declared {handle['sha256']}"
153 )
154 return data
155
156
157def _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"]

Callers

nothing calls this directly

Calls 1

_selector_from_stringFunction · 0.85

Tested by

no test coverage detected