def parse_date_range_argument(value):
    for fmt in DATE_FORMATS:
        try:
            return datetime.datetime.strptime(value, fmt)
        except __HOLE__:
            pass

    raise InvalidDateError()
dataset/ETHPy150Open rhettg/BlueOx/blueox/store.py/parse_date_range_argument