(values: Iterable[Any])
| 57 | |
| 58 | |
| 59 | def _dedupe_strings(values: Iterable[Any]) -> List[str]: |
| 60 | result: List[str] = [] |
| 61 | seen = set() |
| 62 | for value in values: |
| 63 | cleaned = str(value or "").strip() |
| 64 | if not cleaned: |
| 65 | continue |
| 66 | marker = cleaned.casefold() |
| 67 | if marker in seen: |
| 68 | continue |
| 69 | seen.add(marker) |
| 70 | result.append(cleaned) |
| 71 | return result |
| 72 | |
| 73 | |
| 74 | def _default_entry( |
no outgoing calls
no test coverage detected