def METHOD_NAME(self, name: str) -> int:
    """
    Get collection_pk by name
    Parameters
    ----------
    name: str
        Name of the collection
    Returns
    -------
    List[Collection]
        A list of objects of Collection
    """
    for item in self.collections():
        if item.name == name:
            return item.id
    raise CollectionNotFound(name=name)