diff --git a/backend/Property.py b/backend/Property.py index b15c9f25..0d194a79 100644 --- a/backend/Property.py +++ b/backend/Property.py @@ -187,6 +187,9 @@ class Property: # This additional condition data should change how we pass kwargs to this. We should no longer need to pass # kwargs to this class, but instead, we should pass the energy assessment condition data + energy_assessment = ( + {"condition": {}, "energy_assessment_is_newer": False} if energy_assessment is None else energy_assessment + ) self.energy_assessment_condition_data = energy_assessment["condition"] self.energy_assessment_is_newer = energy_assessment["energy_assessment_is_newer"] diff --git a/etl/sfr/midlands_portfolio_asset_list.py b/etl/sfr/midlands_portfolio_asset_list.py new file mode 100644 index 00000000..0434b45a --- /dev/null +++ b/etl/sfr/midlands_portfolio_asset_list.py @@ -0,0 +1,11 @@ +import pandas as pd + + +def app(): + """ + This script sets up + :return: + """ + + # Read in the portfolio EPC data + epc_data = pd.read_excel()