mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-08-03 05:18:22 +00:00
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>
|
||
|---|---|---|
| .. | ||
| bulk_uploads | ||
| db | ||
| documents | ||
| domain | ||
| energy_assessments | ||
| exports | ||
| local | ||
| modelling | ||
| plan | ||
| portfolio | ||
| requirements | ||
| tasks | ||
| whlg | ||
| __init__.py | ||
| assumptions.py | ||
| BatterySapScorer.py | ||
| config.py | ||
| dependencies.py | ||
| exceptions.py | ||
| main.py | ||
| utils.py | ||