gendesign/backend/app/api/v1
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
admin_cadastre.py feat(cadastre): bulk_harvest worker + grid-walker + admin API (#168 PR3/5) (#171) 2026-05-15 13:31:32 +03:00
admin_jobs.py refactor(admin): extract _check_token into shared AdminTokenAuth dep (#133) 2026-05-14 23:45:44 +03:00
admin_leads.py refactor(admin): extract _check_token into shared AdminTokenAuth dep (#133) 2026-05-14 23:45:44 +03:00
admin_scrape.py refactor(admin): extract _check_token into shared AdminTokenAuth dep (#133) 2026-05-14 23:45:44 +03:00
admin_weight_profiles.py feat(site-finder): weight profiles endpoints + analyze integration (#114 sub-PR 3/4) (#138) 2026-05-15 00:40:06 +03:00
analytics.py feat(api,analytics): bulk geo backfill + complex_buildings query 2026-05-11 15:56:17 +03:00
concepts.py init 2026-04-25 13:45:19 +03:00
parcels.py fix(parcels): remove non-existent units_count column from permits query (#105 PR #213 fixup) 2026-05-16 15:14:46 +03:00
photos.py fix ui 2026-04-27 20:42:18 +03:00