mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
Slice 3c.5. `PropertyPostgresRepository` takes an injected `SpatialRepository` and hydrates `Property.planning_restrictions` by UPRN (bulk in `get_many`, single in `get`). A UPRN with no cached row — or a property with no UPRN — defaults to unrestricted, matching legacy `empty_spatial_df` (ADR-0020). This closes the loop: Ingestion caches the protections, Modelling reads them off the Property to gate solid-wall EWI/IWI (ADR-0019). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| applications | ||
| datatypes | ||
| domain | ||
| harness | ||
| infrastructure | ||
| orchestration | ||
| repositories | ||
| utilities | ||
| __init__.py | ||
| conftest.py | ||
| test_lambda_packaging.py | ||