| from typing import Optional | |
| # ========================= | |
| # Helpers | |
| # ========================= | |
| def _combine(title: Optional[str], text: Optional[str]) -> str: | |
| title = title or "" | |
| text = text or "" | |
| return f"{title} {text}".strip().lower() |
| from typing import Optional | |
| # ========================= | |
| # Helpers | |
| # ========================= | |
| def _combine(title: Optional[str], text: Optional[str]) -> str: | |
| title = title or "" | |
| text = text or "" | |
| return f"{title} {text}".strip().lower() |