mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-30 13:10:47 +00:00
add TODO
This commit is contained in:
parent
c5408f3a89
commit
f903fdefe7
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ class MagicPlanService:
|
||||||
plans_response: PlansListResponse = self._client.get_plans()
|
plans_response: PlansListResponse = self._client.get_plans()
|
||||||
matched: Optional[PlanSummary] = find_matching_plan(
|
matched: Optional[PlanSummary] = find_matching_plan(
|
||||||
plans_response.plans, address
|
plans_response.plans, address
|
||||||
)
|
) # TODO: use address2UPRN instead? or create AddressMatch domain class
|
||||||
|
|
||||||
if matched is None:
|
if matched is None:
|
||||||
raise ValueError(f"No MagicPlan found for address: {address!r}")
|
raise ValueError(f"No MagicPlan found for address: {address!r}")
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue