from sanic import Blueprint
from sanic_transmute import add_route
from .views import (
    get_all,
    get_status_by_country_id,
    get_status_by_country_name,
    get_deaths,
    get_active_cases,
    get_recovered_cases,
    get_confirmed_cases,
    list_countries,
)

cases = Blueprint("cases", url_prefix="/cases")
add_route(cases, get_all)
add_route(cases, get_status_by_country_id)
add_route(cases, get_status_by_country_name)
add_route(cases, get_deaths)
add_route(cases, get_active_cases)
add_route(cases, get_recovered_cases)
add_route(cases, get_confirmed_cases)
add_route(cases, list_countries)

[(14, 'sanic.Blueprint', 'Blueprint', False, 'from sanic import Blueprint\n'), (15, 'sanic_transmute.add_route', 'add_route', False, 'from sanic_transmute import add_route\n'), (16, 'sanic_transmute.add_route', 'add_route', False, 'from sanic_transmute import add_route\n'), (17, 'sanic_transmute.add_route', 'add_route', False, 'from sanic_transmute import add_route\n'), (18, 'sanic_transmute.add_route', 'add_route', False, 'from sanic_transmute import add_route\n'), (19, 'sanic_transmute.add_route', 'add_route', False, 'from sanic_transmute import add_route\n'), (20, 'sanic_transmute.add_route', 'add_route', False, 'from sanic_transmute import add_route\n'), (21, 'sanic_transmute.add_route', 'add_route', False, 'from sanic_transmute import add_route\n'), (22, 'sanic_transmute.add_route', 'add_route', False, 'from sanic_transmute import add_route\n')]