mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
Retrofit design doc selected by evidence_category 🟩
This commit is contained in:
parent
df0f089d4f
commit
f2bbb44207
1 changed files with 3 additions and 0 deletions
|
|
@ -87,6 +87,9 @@ class PashubClient:
|
|||
return None
|
||||
|
||||
def _get_core_file_type(self, file: EvidenceFileData) -> Optional[CoreFiles]:
|
||||
if file.evidence_category == "retrofit design":
|
||||
return CoreFiles.RETROFIT_DESIGN_DOC
|
||||
|
||||
for core_file in CoreFiles:
|
||||
if file.file_name.startswith(core_file.value):
|
||||
return core_file
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue