(self, value: Optional[str])
| 153 | return unescape(re.sub(r"<[^>]+>", " ", text)) |
| 154 | |
| 155 | def _parse_message_time(self, value: Optional[str]) -> Optional[float]: |
| 156 | if not value: |
| 157 | return None |
| 158 | try: |
| 159 | normalized = value.replace("Z", "+00:00") |
| 160 | return datetime.fromisoformat(normalized).astimezone(timezone.utc).timestamp() |
| 161 | except Exception: |
| 162 | return None |
| 163 | |
| 164 | def _message_search_text(self, summary: Dict[str, Any], detail: Dict[str, Any]) -> str: |
| 165 | sender = summary.get("from") or detail.get("from") or {} |
no outgoing calls
no test coverage detected