Commit graph

2 commits

Author SHA1 Message Date
e4ad1f8f7a perf(estimator): executemany batch insert in _save_yandex_history_items (Refs #826)
Replace N+1 loop `for row in rows: db.execute(sql, row)` with single
`db.execute(sql, rows)` — SQLAlchemy Session passes list-of-dicts as
executemany, reducing round-trips to one per batch. Guard with `if rows:`
so empty batches skip the execute. Update unit tests to reflect one call
with a list instead of N calls with individual dicts.
2026-05-30 22:58:52 +03:00
c8675ce6e2 feat(yandex-valuation): link history rows to houses via match_or_create_house (#531)
All checks were successful
Deploy Trade-In / deploy (push) Successful in 36s
Deploy Trade-In / changes (push) Successful in 5s
Deploy Trade-In / build-frontend (push) Has been skipped
Deploy Trade-In / build-backend (push) Successful in 44s
2026-05-24 14:28:30 +00:00