Helper function to hydrate a list of limits.

    :param db: A database handle.
    :param lims: A list of limit strings, as retrieved from the
                 database.

def limits_hydrate(db, lims):
    """
    Helper function to hydrate a list of limits.

    :param db: A database handle.
    :param lims: A list of limit strings, as retrieved from the
                 database.
    """

    return [limits.Limit.hydrate(db, lim) for lim in lims]