Returns a [medium]Data object for filling before calling spice.add(),
    spice.update() or spice.delete().
    :param medium Anime or manga (tokens.Medium.ANIME or tokens.Medium.MANGA).
    :returns A [medium]Data object.

def get_blank(medium):
    """Returns a [medium]Data object for filling before calling spice.add(),
    spice.update() or spice.delete().
    :param medium Anime or manga (tokens.Medium.ANIME or tokens.Medium.MANGA).
    :returns A [medium]Data object.
    """
    if medium == tokens.Medium.ANIME:
        return objects.AnimeData()
    elif medium == tokens.Medium.MANGA:
        return objects.MangaData()
    else:
        return None