mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
evidence categories plus typehinting
This commit is contained in:
parent
020a24d345
commit
5ed3bf73e8
2 changed files with 66 additions and 1 deletions
63
backend/pashub_fetcher/evidence_categories.py
Normal file
63
backend/pashub_fetcher/evidence_categories.py
Normal file
|
|
@ -0,0 +1,63 @@
|
|||
EVIDENCE_CATEGORIES = [
|
||||
"Advice report",
|
||||
"Air Tests - BGV",
|
||||
"Air Tightness Strategy",
|
||||
"Assessment report",
|
||||
"Blue Site Notes (PAS Assessment)",
|
||||
"Building Assessment report",
|
||||
"Building Condition report",
|
||||
"Building Regulations Sign-off",
|
||||
"Claim of compliance PAS2030",
|
||||
"Claim of compliance PAS2035",
|
||||
"Commissioning checklist",
|
||||
"Condition report",
|
||||
"Contract / Invoice",
|
||||
"Electrical Certificate",
|
||||
"Energy report",
|
||||
"Evidence of submission to CPS",
|
||||
"Floor Plan",
|
||||
"Full Property Assessment",
|
||||
"Gas Appliance Benchmarking Certificate",
|
||||
"Gas Appliance Commissioning Checklist",
|
||||
"Gas Inspection Certificate",
|
||||
"Handover and Commissioning Documents",
|
||||
"Handover Documents",
|
||||
"Handover documents for client",
|
||||
"Heat Demand Calculations",
|
||||
"Heritage Impact Assessment",
|
||||
"Improvement option evaluation",
|
||||
"Installation Guides",
|
||||
"Insurance guarantee",
|
||||
"Intended outcomes",
|
||||
"MCS Compliance Certificate",
|
||||
"Medium term improvement plan",
|
||||
"Medium term low carbon plan",
|
||||
"Mid Photo",
|
||||
"Mid-Install Inspection",
|
||||
"Minor Works Electrical Certificate",
|
||||
"Monitoring and evaluation outcomes",
|
||||
"Occupancy assessment",
|
||||
"Other",
|
||||
"Other commissioning certificates",
|
||||
"Photo",
|
||||
"Post Energy Performance Report (EPR)",
|
||||
"Post installation RdSAP",
|
||||
"Post Photo",
|
||||
"Pre Energy Performance Report (EPR)",
|
||||
"Pre installation RdSAP",
|
||||
"Pre Photo",
|
||||
"Pre-Design Building Survey",
|
||||
"Pre-Installation Building Inspection",
|
||||
"Product Data sheets",
|
||||
"Product warranty",
|
||||
"Property Assessment",
|
||||
"Qualifications",
|
||||
"Retrofit design",
|
||||
"Risk assessment",
|
||||
"Significance survey",
|
||||
"Site Note (Green /Blue) and Certificate(s)",
|
||||
"Ventilation Assessment",
|
||||
"Ventilation Assessment Checklist",
|
||||
"Ventilation Report",
|
||||
"Welsh - Checklist",
|
||||
]
|
||||
|
|
@ -52,7 +52,9 @@ class PashubClient:
|
|||
if not evidence_list:
|
||||
return DownloadedFiles(core=[], other=[])
|
||||
|
||||
grouped = self._group_into_core_and_other_files(evidence_list)
|
||||
grouped: _EvidenceFileGroups = self._group_into_core_and_other_files(
|
||||
evidence_list
|
||||
)
|
||||
|
||||
core_paths: List[str] = []
|
||||
for _, evidence in grouped.core.items():
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue