mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
Map peabody data to new structure 🟪
This commit is contained in:
parent
dc5b43d453
commit
61caf8c495
1 changed files with 0 additions and 9 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue