diff --git a/.idea/Model.iml b/.idea/Model.iml index a940294e..3df47e4d 100644 --- a/.idea/Model.iml +++ b/.idea/Model.iml @@ -5,7 +5,7 @@ - + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml index ba1153d7..38b7c715 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,6 +1,6 @@ - + diff --git a/model_data/Property.py b/model_data/Property.py index 9fb46639..03dcd58b 100644 --- a/model_data/Property.py +++ b/model_data/Property.py @@ -2,8 +2,6 @@ from datetime import datetime import re from epc_api.client import EpcClient from model_data.config import EPC_AUTH_TOKEN -from model_data.OpenUprnClient import OpenUprnClient -from model_data.EpcClean import EpcClean from model_data.BaseUtility import BaseUtility @@ -70,7 +68,7 @@ class Property(BaseUtility): self.data = response["rows"][0] - def get_coordinates(self, open_uprn_client: OpenUprnClient): + def get_coordinates(self, open_uprn_client): """ This method utlises the OpenOprnClient to get the coordinates of the property The OpenOprnClient interfactes with the Ordinance Survey Open UPRN database to extract @@ -89,7 +87,7 @@ class Property(BaseUtility): self.coordinates = {key.lower(): value for key, value in self.coordinates.items()} - def get_components(self, cleaner: EpcClean): + def get_components(self, cleaner): """ Given the cleaning that has been performed, we'll use this to identify the property components, from roof to walls to windows, heating and hot water