gendesign/backend/app/schemas
lekss361 3abaf047a9 fix(parcels): remove non-existent units_count column from permits query (#105 PR #213 fixup)
🔴 Critical from review-bot: column units_count doesn't exist в
ekburg_construction_permits (mock tests прошли т.к. db.execute мокается;
на проде psycopg.errors.UndefinedColumn для каждого /analyze).

Removes (7 refs):
- SQL SELECT не выбирает units_count
- dict build, PermitsSummary.rve_total_units
- RecentPermit.units_count Pydantic field
- PermitsSummary.rve_total_units field
- 2 fixture rows assertions

🟡 Dedupe _quarter_prefix → reuse existing _quarter_cad (computed
ранее для market_price block).

Tests adjusted, ruff clean.
2026-05-16 15:14:46 +03:00
..
__init__.py init 2026-04-25 13:45:19 +03:00
complex_buildings.py feat(api,analytics): bulk geo backfill + complex_buildings query 2026-05-11 15:56:17 +03:00
concept.py deploy.yml: sync compose+Caddyfile from git, reload caddy after up 2026-04-26 13:31:26 +03:00
job_settings.py feat(jobs): centralized job_settings API + DB-driven beat schedule 2026-05-11 15:38:13 +03:00
nspd_bulk.py fix(cadastre): NSPD response parse — properties.category + top-level meta (#168) (#177) 2026-05-15 15:40:01 +03:00
parcel.py fix(parcels): remove non-existent units_count column from permits query (#105 PR #213 fixup) 2026-05-16 15:14:46 +03:00
recommend.py feat(analytics): recommend_mix v3.1-v3.4 - noise + 2D competitors + 24m cap + success-driven 2026-05-11 22:19:41 +03:00