def parse_date(date_string):
    try:
        return parser.parse(date_string)
    except __HOLE__:
        raise ValueError('Unable to parse date value: %s' % date_string)
dataset/ETHPy150Open aws/aws-cli/awscli/customizations/cloudtrail/validation.py/parse_date