This commit is contained in:
lekss361 2026-04-27 22:03:48 +03:00
parent 8dda3903e5
commit 1507575698
2 changed files with 3 additions and 1 deletions

View file

@ -1219,7 +1219,7 @@ def recommend_mix(
AND a.type = 'apartments'
WHERE o.region_cd = :rc
AND o.addr ILIKE '%' || :dn || '%'
AND (:cls::text IS NULL OR o.obj_class = :cls)
AND (CAST(:cls AS TEXT) IS NULL OR o.obj_class = :cls)
ORDER BY o.flat_count DESC NULLS LAST
LIMIT 5
"""

2
backend/uv.lock generated
View file

@ -497,6 +497,7 @@ dependencies = [
{ name = "numpy" },
{ name = "openpyxl" },
{ name = "pandas" },
{ name = "pillow" },
{ name = "playwright" },
{ name = "psycopg", extra = ["binary"] },
{ name = "pydantic" },
@ -534,6 +535,7 @@ requires-dist = [
{ name = "numpy", specifier = ">=2.0.0" },
{ name = "openpyxl", specifier = ">=3.1.0" },
{ name = "pandas", specifier = ">=2.2.0" },
{ name = "pillow", specifier = ">=10.4.0" },
{ name = "playwright", specifier = ">=1.45.0" },
{ name = "psycopg", extras = ["binary"], specifier = ">=3.2.0" },
{ name = "pydantic", specifier = ">=2.7.0" },