(value: Any)
| 1312 | |
| 1313 | |
| 1314 | def _as_string_list(value: Any) -> list[str]: |
| 1315 | if isinstance(value, list): |
| 1316 | return [str(item).strip() for item in value if str(item).strip()] |
| 1317 | if isinstance(value, str) and value.strip(): |
| 1318 | return [value.strip()] |
| 1319 | return [] |
| 1320 | |
| 1321 | |
| 1322 | def _normalize_domain_rule(raw: dict[str, Any]) -> dict[str, Any] | None: |
no outgoing calls
no test coverage detected