Model/backend/app/db
Jun-te Kim 57a531fc04 Sync the epc_lodged_deal Yes/No dropdown into the HubSpot deal ETL
Adds parse_hs_yes_no rather than reusing parse_hs_bool: that one reads a
HubSpot checkbox ("true"/"false") and would call "Yes" false. Anything
that is neither yes nor no parses to None, so an unanswered dropdown
never reads as "answered No".

The differ gets its own yes_no_fields block alongside bool_fields, since
the two lists need different parsers.

The epc_lodged_deal column still has to be created by a migration in
Hestia-Homes/assessment-model before this can write.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-30 10:01:08 +00:00
..
functions Relocate condition-data ingestion into the DDD layout 🟪 2026-07-13 14:51:25 +00:00
models Sync the epc_lodged_deal Yes/No dropdown into the HubSpot deal ETL 2026-07-30 10:01:08 +00:00
__init__.py Adding database connection to fastapi 2023-07-31 11:02:22 +01:00
base.py fixing typing issues 2026-02-26 12:45:52 +00:00
connection.py map survey to model 🟥 2026-01-28 18:06:18 +00:00
utils.py uploading plan and recommendations wip 2023-08-10 18:26:41 +01:00