Merge pull request 'Красный main после #3440: тест полос по округам передаёт убранный параметр rooms' (#3453) from fix/3051-fetch-deals-rooms-dropped into main
All checks were successful
Deploy Trade-In / test (push) Successful in 4m43s
Deploy Trade-In / deploy (push) Successful in 6m17s
Deploy Trade-In / perimeter-smoke (push) Successful in 1m40s
Deploy Trade-In / changes (push) Successful in 12s
Deploy Trade-In / build-frontend (push) Has been skipped
Deploy Trade-In / build-browser (push) Has been skipped
Deploy Trade-In / build-backend (push) Successful in 1m6s
Deploy Trade-In / deploy-status (push) Successful in 1s
All checks were successful
Deploy Trade-In / test (push) Successful in 4m43s
Deploy Trade-In / deploy (push) Successful in 6m17s
Deploy Trade-In / perimeter-smoke (push) Successful in 1m40s
Deploy Trade-In / changes (push) Successful in 12s
Deploy Trade-In / build-frontend (push) Has been skipped
Deploy Trade-In / build-browser (push) Has been skipped
Deploy Trade-In / build-backend (push) Successful in 1m6s
Deploy Trade-In / deploy-status (push) Successful in 1s
This commit is contained in:
commit
deb6517bd5
1 changed files with 5 additions and 1 deletions
|
|
@ -283,11 +283,15 @@ def _fetch(
|
||||||
) -> list[dict[str, Any]]:
|
) -> list[dict[str, Any]]:
|
||||||
est._city_price_bands_cache = None
|
est._city_price_bands_cache = None
|
||||||
try:
|
try:
|
||||||
|
# `rooms` у `_fetch_deals` больше нет: #3256 убрал параметр, а не просто
|
||||||
|
# перестал класть его в SQL — сделки Росреестра комнатность не несут.
|
||||||
|
# Тест писался на ветке, отведённой до того тикета, и разъехался с main
|
||||||
|
# молча: текстового конфликта в мерже не было, красным стало только на
|
||||||
|
# post-merge прогоне (#3440).
|
||||||
return est._fetch_deals(
|
return est._fetch_deals(
|
||||||
_db(rows, _BANDS_ROWS if band_rows is None else band_rows),
|
_db(rows, _BANDS_ROWS if band_rows is None else band_rows),
|
||||||
lat=55.74,
|
lat=55.74,
|
||||||
lon=37.6,
|
lon=37.6,
|
||||||
rooms=2,
|
|
||||||
area=80.0,
|
area=80.0,
|
||||||
radius_m=1000,
|
radius_m=1000,
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue