Map peabody data to new structure 🟪

This commit is contained in:
Daniel Roth 2026-01-27 14:48:05 +00:00
parent dc5b43d453
commit 61caf8c495

View file

@ -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