From dd31c2d945b9669f3c02fab0e63740d340a76cdb Mon Sep 17 00:00:00 2001 From: Daniel Roth Date: Wed, 4 Feb 2026 10:48:59 +0000 Subject: [PATCH] correction to method definitions --- backend/condition/lookups/uprn_lookup.py | 2 +- backend/condition/lookups/uprn_lookup_local.py | 2 +- backend/condition/lookups/uprn_lookup_s3.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/condition/lookups/uprn_lookup.py b/backend/condition/lookups/uprn_lookup.py index be8535bd..87cc54fa 100644 --- a/backend/condition/lookups/uprn_lookup.py +++ b/backend/condition/lookups/uprn_lookup.py @@ -3,5 +3,5 @@ from typing import Dict class UprnLookup(ABC): - def get_location_ref_to_uprn_map() -> Dict[str, int]: + def get_location_ref_to_uprn_map(self, lookup_filepath: str) -> Dict[str, int]: pass diff --git a/backend/condition/lookups/uprn_lookup_local.py b/backend/condition/lookups/uprn_lookup_local.py index bb4962e5..7bf7a575 100644 --- a/backend/condition/lookups/uprn_lookup_local.py +++ b/backend/condition/lookups/uprn_lookup_local.py @@ -3,5 +3,5 @@ from backend.condition.lookups.uprn_lookup import UprnLookup class UprnLookupLocal(UprnLookup): - def get_location_ref_to_uprn_map() -> Dict[str, int]: + def get_location_ref_to_uprn_map(self, lookup_filepath: str) -> Dict[str, int]: raise NotImplementedError diff --git a/backend/condition/lookups/uprn_lookup_s3.py b/backend/condition/lookups/uprn_lookup_s3.py index 83d6032c..e73bffaf 100644 --- a/backend/condition/lookups/uprn_lookup_s3.py +++ b/backend/condition/lookups/uprn_lookup_s3.py @@ -3,5 +3,5 @@ from backend.condition.lookups.uprn_lookup import UprnLookup class UprnLookupS3(UprnLookup): - def get_location_ref_to_uprn_map() -> Dict[str, int]: + def get_location_ref_to_uprn_map(self, lookup_filepath: str) -> Dict[str, int]: raise NotImplementedError