mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-12 13:29:04 +00:00
Thread the UPRN the PashubService has already resolved for a job into the PasHub site-notes mapper so the EpcPropertyData aggregate is born with its uprn set, and the existing save_epc_property_data path persists it. - EpcPropertyDataMapper.from_site_notes gains uprn: Optional[int] = None and sets it unconditionally (site notes never carry a UPRN natively). - parse_site_notes_pdf / _parse_pashub forward the uprn; the Elmhurst branch is untouched. - PashubService coerces uprn str -> int in one place, carries it on the internal upload record, and passes it into parse_site_notes_pdf. - No new lookups; jobs with no known UPRN still persist null, unchanged. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| handler | ||
| tests | ||
| __init__.py | ||
| db_writer.py | ||
| elmhurst_extractor.py | ||
| extractor.py | ||
| local_runner.py | ||
| parser.py | ||
| pdf.py | ||