Inserts the given object as a new item in the database.

    Returns the ID of the newly created item.

def new(name: hug.types.text, description: hug.types.text):
    """Inserts the given object as a new item in the database.

    Returns the ID of the newly created item.
    """
    item_doc = {'name': name, 'description': description}
    collection.insert_one(item_doc)
    return str(item_doc['_id'])