from ninja import NinjaAPI api = NinjaAPI() api.add_router("/diarios/", route)