fix: pipeline type coercion — bool, datetime, enum mappings
- Add _to_bool() for boolean fields (has_balcony, has_loggia, etc.)
- Add _to_datetime() for publish_date / archived_at
- Add _to_enum() with Russian→English mappings for all DB enums:
  building_type, renovation_status, deal_type, layout,
  bathroom_type, parking_type, heating_type, window_view,
  metro_distance_type, listing_status
- Change pipeline except blocks to re-raise exceptions
  so worker handles rollback + _mark_failed properly
- Fixes stuck 'processing' jobs caused by SQL type errors

Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 2f9ddb2 commit c3cd357cbc8f89e9bba4693bebe47c1aa10f3a29
@Eugene Sukhodolskiy Eugene Sukhodolskiy authored 1 day ago
Showing 1 changed file
View
src/vmk_data_collector/services/property_pipeline.py