From 61caf8c495baaa7b4a7cdda4fed8e3027b4dc055 Mon Sep 17 00:00:00 2001 From: Daniel Roth Date: Tue, 27 Jan 2026 14:48:05 +0000 Subject: [PATCH] =?UTF-8?q?Map=20peabody=20data=20to=20new=20structure=20?= =?UTF-8?q?=F0=9F=9F=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../condition/domain/mapping/peabody/peabody_mapper.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/backend/condition/domain/mapping/peabody/peabody_mapper.py b/backend/condition/domain/mapping/peabody/peabody_mapper.py index e052249b..41b2ff39 100644 --- a/backend/condition/domain/mapping/peabody/peabody_mapper.py +++ b/backend/condition/domain/mapping/peabody/peabody_mapper.py @@ -102,12 +102,3 @@ class PeabodyMapper(Mapper): renewal_year=raw_asset.renewal_year, comments=None, ) - - @staticmethod - def _check_for_element_type_and_instance( - elements: List[Element], type: ElementType, instance: int - ) -> Optional[Element]: - for e in elements: - if e.element_type == type and e.element_instance == instance: - return e - return None