(source: dict[str, Any])
| 154 | |
| 155 | |
| 156 | def link_values(source: dict[str, Any]) -> dict[str, str]: |
| 157 | links = source.get("links") or {} |
| 158 | if not isinstance(links, dict): |
| 159 | return {} |
| 160 | return {str(k): str(v).strip() for k, v in links.items() if str(v).strip()} |
| 161 | |
| 162 | |
| 163 | def normalized_links(source: dict[str, Any]) -> set[str]: |
no outgoing calls
no test coverage detected