(m: re.Match)
| 339 | if isinstance(val, str): |
| 340 | |
| 341 | def _sub(m: re.Match) -> str: |
| 342 | n = int(m.group(1)) |
| 343 | return context[n].response if n in context else m.group(0) |
| 344 | |
| 345 | resolved[key] = _PLACEHOLDER_RE.sub(_sub, val) |
| 346 | else: |
nothing calls this directly
no outgoing calls
no test coverage detected