mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
new core_file_for function identifies CoreFiles type from filename and evidence category 🟩
This commit is contained in:
parent
1a789ec609
commit
9adb467a02
1 changed files with 2 additions and 0 deletions
|
|
@ -65,6 +65,8 @@ _MATCHERS: list[tuple[Callable[[str], bool], str]] = [
|
|||
def core_file_for(
|
||||
filename: str, evidence_category: Optional[str] = None
|
||||
) -> Optional[CoreFiles]:
|
||||
if evidence_category is not None and evidence_category.lower() == "retrofit design":
|
||||
return CoreFiles.RETROFIT_DESIGN_DOC
|
||||
raise NotImplementedError
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue