correction to method definitions

This commit is contained in:
Daniel Roth 2026-02-04 10:48:59 +00:00
parent 4cbc3456f0
commit dd31c2d945
3 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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

View file

@ -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