def __init__(self, models: List[MaleModel]): self.models = models self.heights = [m.height_cm for m in models]
def __post_init__(self): if not self.height_ft_in and self.height_cm: self.height_ft_in = self.cm_to_ft_in(self.height_cm) height of male models