mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
correction to method definitions
This commit is contained in:
parent
4cbc3456f0
commit
dd31c2d945
3 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue