mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-30 13:10:47 +00:00
increase openpyxl version in sal devcontainer, and fix import path
This commit is contained in:
parent
e8abe6b25b
commit
fd9752b981
2 changed files with 9 additions and 46 deletions
|
|
@ -7,7 +7,7 @@ mangum==0.19.0
|
||||||
# AWS
|
# AWS
|
||||||
boto3==1.35.44
|
boto3==1.35.44
|
||||||
# Data
|
# Data
|
||||||
openpyxl==3.1.2
|
openpyxl==3.1.5
|
||||||
# Basic
|
# Basic
|
||||||
pytz
|
pytz
|
||||||
uvicorn[standard]
|
uvicorn[standard]
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ from asset_list.utils import get_data
|
||||||
from dotenv import load_dotenv
|
from dotenv import load_dotenv
|
||||||
from backend.SearchEpc import SearchEpc
|
from backend.SearchEpc import SearchEpc
|
||||||
|
|
||||||
load_dotenv(dotenv_path="backend/.env")
|
load_dotenv(dotenv_path="../backend/.env")
|
||||||
EPC_AUTH_TOKEN = os.getenv(
|
EPC_AUTH_TOKEN = os.getenv(
|
||||||
"EPC_AUTH_TOKEN",
|
"EPC_AUTH_TOKEN",
|
||||||
)
|
)
|
||||||
|
|
@ -69,51 +69,14 @@ def app():
|
||||||
Property UPRN
|
Property UPRN
|
||||||
"""
|
"""
|
||||||
|
|
||||||
data_folder = "/Users/khalimconn-kowlessar/Documents/hestia/Customers/Hackney"
|
data_folder = "/workspaces/home/Downloads"
|
||||||
data_filename = "Domna SHF Wave 3 (3).xlsx"
|
data_filename = "Anchor 1.xlsx"
|
||||||
sheet_name = "Domna Wave 3"
|
|
||||||
postcode_column = "Postcode"
|
|
||||||
address1_column = "Address 1"
|
|
||||||
address1_method = None
|
|
||||||
fulladdress_column = None
|
|
||||||
address_cols_to_concat = ["Address 1"]
|
|
||||||
missing_postcodes_method = None
|
|
||||||
landlord_year_built = "Construction Years"
|
|
||||||
landlord_os_uprn = "UPRN"
|
|
||||||
landlord_property_type = "Type"
|
|
||||||
landlord_built_form = "Attachment"
|
|
||||||
landlord_wall_construction = "Wall type"
|
|
||||||
landlord_roof_construction = None
|
|
||||||
landlord_heating_system = None
|
|
||||||
landlord_existing_pv = None
|
|
||||||
landlord_property_id = "Row ID"
|
|
||||||
landlord_sap = None
|
|
||||||
outcomes_filename = None
|
|
||||||
outcomes_sheetname = None
|
|
||||||
outcomes_postcode = None
|
|
||||||
outcomes_houseno = None
|
|
||||||
outcomes_id = None
|
|
||||||
outcomes_address = None
|
|
||||||
master_filepaths = []
|
|
||||||
master_id_colnames = []
|
|
||||||
master_to_asset_list_filepath = None
|
|
||||||
phase = False
|
|
||||||
ecosurv_landlords = None
|
|
||||||
asset_list_header = 0
|
|
||||||
landlord_block_reference = None
|
|
||||||
|
|
||||||
# Peabody data for cleaning
|
|
||||||
data_folder = (
|
|
||||||
"/Users/khalimconn-kowlessar/Documents/hestia/Customers/Peabody/Nov 2025 Consulting "
|
|
||||||
"Project/data_validation"
|
|
||||||
)
|
|
||||||
data_filename = "to_standardise_uprns.xlsx"
|
|
||||||
sheet_name = "Sheet1"
|
sheet_name = "Sheet1"
|
||||||
postcode_column = "Postcode"
|
postcode_column = "Postcode"
|
||||||
address1_column = None
|
address1_column = "House Number"
|
||||||
address1_method = "house_number_extraction"
|
address1_method = None
|
||||||
fulladdress_column = "Address"
|
fulladdress_column = None
|
||||||
address_cols_to_concat = None
|
address_cols_to_concat = ["House Number", "Address Line 1", "Address Line 2"]
|
||||||
missing_postcodes_method = None
|
missing_postcodes_method = None
|
||||||
landlord_year_built = None
|
landlord_year_built = None
|
||||||
landlord_os_uprn = None
|
landlord_os_uprn = None
|
||||||
|
|
@ -123,7 +86,7 @@ def app():
|
||||||
landlord_roof_construction = None
|
landlord_roof_construction = None
|
||||||
landlord_heating_system = None
|
landlord_heating_system = None
|
||||||
landlord_existing_pv = None
|
landlord_existing_pv = None
|
||||||
landlord_property_id = "LLUPRN"
|
landlord_property_id = "Landlord Property ID"
|
||||||
landlord_sap = None
|
landlord_sap = None
|
||||||
outcomes_filename = None
|
outcomes_filename = None
|
||||||
outcomes_sheetname = None
|
outcomes_sheetname = None
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue