(pid: str)
| 1155 | # Program Manager |
| 1156 | # ---------------------------- |
| 1157 | def get_program_by_id(pid: str) -> Optional[Dict]: |
| 1158 | for p in PROGRAMS: |
| 1159 | if p["id"] == pid: |
| 1160 | return p |
| 1161 | return None |
| 1162 | |
| 1163 | def get_program_command(p: Dict, family: str, action: str) -> Optional[str]: |
| 1164 | fam_map = p.get("cmd", {}).get(family, {}) |
no outgoing calls
no test coverage detected