|
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> |
|---|
|
|
| src/vmk_data_collector/services/property_pipeline.py |
|---|