import nominatim.api.results as nres
from nominatim.api.search.db_search_fields import SearchData, WeightedCategories
-#pylint: disable=singleton-comparison
+#pylint: disable=singleton-comparison,not-callable
#pylint: disable=too-many-branches,too-many-arguments,too-many-locals,too-many-statements
def _select_placex(t: SaFromClause) -> SaSelect:
numerals, details)
), else_=None)
else:
- interpol_sql = sa.literal(None)
- tiger_sql = sa.literal(None)
+ interpol_sql = sa.literal_column('NULL')
+ tiger_sql = sa.literal_column('NULL')
unsort = sa.select(inner, place_sql.scalar_subquery().label('placex_hnr'),
interpol_sql.label('interpol_hnr'),