def METHOD_NAME(input: str) -> shapely.GeometryCollection:
    """
    Creates a Geometry collection from a WKT collection
    Parameters
    ----------
    input : str
        text containing one WKT GEOMETRYCOLLECTION
    Raises
    ------
    ParseException will be raised on any errors parsing the input
    Returns
    -------
    A shapely.GeometryCollection that only contains polygons
    """
    result = None
    try:
        result = shapely.from_wkt(input)
    except Exception as e:
        raise ParseException(f"Error parsing input: {e}")
    if not isinstance(result, shapely.GeometryCollection):
        raise ParseException(
            f"Expected a WKT containing exactly one GeometryCollection"
        )
    return result