def METHOD_NAME(
    cls, yaml_data: Dict[str, Any], code_model: "CodeModel"
) -> "ListType":
    from . import build_type
    return cls(
        yaml_data=yaml_data,
        code_model=code_model,
        element_type=build_type(
            yaml_data=yaml_data["elementType"], code_model=code_model
        ),
    )