Find call sites for a symbol. Returns list of caller dicts.
(symbol: str, file: str, limit: int = 50)
| 434 | |
| 435 | |
| 436 | def callers(symbol: str, file: str, limit: int = 50): |
| 437 | """Find call sites for a symbol. Returns list of caller dicts.""" |
| 438 | state = _load_state() |
| 439 | result = _safe_get(state, "/symbols/callers", {"symbol": symbol, "file": file, "limit": limit}) |
| 440 | print(json.dumps(result, indent=2)) |
| 441 | return result |
| 442 | |
| 443 | |
| 444 | def tests(symbol: str, file: str, limit: int = 20): |
nothing calls this directly
no test coverage detected