mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-30 13:10:47 +00:00
removed redundant temp code
This commit is contained in:
parent
deb9fd9a38
commit
0753584655
1 changed files with 0 additions and 13 deletions
|
|
@ -864,19 +864,6 @@ async def model_engine(body: PlanTriggerRequest):
|
||||||
"epc_page_rrn": epc_page_source.get("rrn"),
|
"epc_page_rrn": epc_page_source.get("rrn"),
|
||||||
})
|
})
|
||||||
|
|
||||||
# TODO - delete me (finding the entries in epc data that are not in epc record
|
|
||||||
example_property = input_properties[0]
|
|
||||||
example_epc_record = example_property.epc_record
|
|
||||||
example_epc_data = example_property.data
|
|
||||||
|
|
||||||
epc_record_dir = dir(example_epc_record)
|
|
||||||
|
|
||||||
missed_keys = []
|
|
||||||
for k in example_epc_data.keys():
|
|
||||||
k_replaced = k.replace("-", "_")
|
|
||||||
if k_replaced not in epc_record_dir:
|
|
||||||
missed_keys.append(k_replaced)
|
|
||||||
|
|
||||||
if not input_properties:
|
if not input_properties:
|
||||||
return Response(status_code=204)
|
return Response(status_code=204)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue