def date(value):
    date = datetime.strptime(value, "%Y-%m-%d")
    return date
Parse a valid looking date in the format YYYY-mm-dd
dataset/ETHPy150Open noirbizarre/flask-restplus/flask_restplus/inputs.py/date