(store: Dict[str, Any])
| 726 | |
| 727 | |
| 728 | def _save_pending_store(store: Dict[str, Any]) -> bool: |
| 729 | try: |
| 730 | PENDING_PATH.parent.mkdir(parents=True, exist_ok=True) |
| 731 | with PENDING_PATH.open("w", encoding="utf-8") as handle: |
| 732 | json.dump(store, handle, indent=2, ensure_ascii=False, sort_keys=True) |
| 733 | return True |
| 734 | except Exception as exc: |
| 735 | print(f"Failed to save pending direction store: {exc}") |
| 736 | return False |
| 737 | |
| 738 | |
| 739 | def load_pending_candidates() -> Dict[str, Dict[str, Any]]: |
no outgoing calls
no test coverage detected