@app.get('/todoer/api/v1/tasks')
async def get_tasks(pagination: Tuple[(int, int)]=Depends(pagination), database=Depends(get_database)) -> List[Task]:
    return (await database.get_all(*pagination))
@app.get('/todoer/api/v1/tasks')
async def get_tasks(pagination: Tuple[(int, int)]=Depends(pagination), database=Depends(get_database)) -> List[Task]:
    return (await database.get_all(*pagination))