mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
debugging eon asset list
This commit is contained in:
parent
6029aad07c
commit
37bd18642b
1 changed files with 5 additions and 3 deletions
|
|
@ -2,12 +2,11 @@ import time
|
|||
|
||||
import pandas as pd
|
||||
|
||||
from utils.s3 import read_excel_from_s3
|
||||
from backend.SearchEpc import SearchEpc
|
||||
from dotenv import load_dotenv
|
||||
import os
|
||||
from tqdm import tqdm
|
||||
from utils.s3 import save_csv_to_s3
|
||||
from utils.s3 import save_csv_to_s3, read_excel_from_s3
|
||||
|
||||
# Read in the .env file in backend
|
||||
load_dotenv(dotenv_path="backend/.env")
|
||||
|
|
@ -181,7 +180,10 @@ def app():
|
|||
)
|
||||
|
||||
searcher.find_property(skip_os=True)
|
||||
uprn = searcher.uprn
|
||||
if searcher.newest_epc["uprn-source"] == SearchEpc.UPRN_SOURCE_SIMULATED:
|
||||
uprn = None
|
||||
else:
|
||||
uprn = searcher.uprn
|
||||
# searcher.find_property(skip_os=False)
|
||||
|
||||
asset_list_with_uprn.append(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue