def METHOD_NAME(label):
    if label is None:
        return label
    return fol.Classification(
        label=label.label,
        confidence=label.confidence,
        **dict(label.iter_attributes()),
    )