def find_by_id(object_id, items):
    """ Find an object given its ID from a list of items """
    for item in items:
        if object_id == item["id"]:
            return item

    raise Exception(f"Item with {object_id} not found")