(name: str, value: Optional[str])
| 140 | |
| 141 | @staticmethod |
| 142 | def _fts_string(name: str, value: Optional[str]) -> str: |
| 143 | if value is None: |
| 144 | return "" |
| 145 | if not isinstance(value, str): |
| 146 | raise ValueError(f"Fts {name} must be a string") |
| 147 | return value if value.strip() else "" |
| 148 | |
| 149 | def _validate(self) -> None: |
| 150 | if not isinstance(self.field_name, str) or not self.field_name.strip(): |
no outgoing calls
no test coverage detected