(value: Any)
| 39 | |
| 40 | |
| 41 | def _normalize_lookup_key(value: Any) -> str: |
| 42 | normalized = str(value or "").strip().casefold() |
| 43 | if not normalized: |
| 44 | return "" |
| 45 | return re.sub(r"[^0-9a-z\u4e00-\u9fff]+", "", normalized) |
| 46 | |
| 47 | |
| 48 | def normalize_direction_key(value: Any) -> str: |
no outgoing calls
no test coverage detected