I\'m using Flask framework to create the rest API. the code below is the rest I\'ve wrote.
@app.route("/posts/v2/list_by_date", methods=[\'GET\']) def p