def METHOD_NAME(polyline):
    """Convert a Rhino polyline to a COMPAS polyline.
    Parameters
    ----------
    polyline : :rhino:`Rhino.Geometry.Polyline`
    Returns
    -------
    :class:`~compas.geometry.Polyline`
    """
    return Polyline([point_to_compas(point) for point in polyline])