diff --git a/backend/OrdnanceSurvey.py b/backend/OrdnanceSurvey.py index afb57620..156e72bf 100644 --- a/backend/OrdnanceSurvey.py +++ b/backend/OrdnanceSurvey.py @@ -37,9 +37,6 @@ class OrdnanceSuveyClient: response = requests.get(url) if response.status_code == 200: data = response.json() - - # Extract the UPRN from the data - # Note: This example assumes that the first result is the correct one, which might not always be the case. results = data['results'] self.results = results else: diff --git a/backend/app/plan/router.py b/backend/app/plan/router.py index 4100e47d..209bb2b9 100644 --- a/backend/app/plan/router.py +++ b/backend/app/plan/router.py @@ -3,7 +3,6 @@ from datetime import datetime import numpy as np import pandas as pd from epc_api.client import EpcClient -from backend.OrdnanceSurvey import OrdnanceSuveyClient from fastapi import APIRouter, Depends from sqlalchemy.exc import IntegrityError, OperationalError from sqlalchemy.orm import sessionmaker