Convert cbr.ru API date ste to python datetime

    :param date: date from API response

    :return: date like datetime
    :rtype: datetime

def str_to_date(date: str) -> datetime.datetime:
    """ Convert cbr.ru API date ste to python datetime

    :param date: date from API response

    :return: date like datetime
    :rtype: datetime
    """
    date = date.split('.')
    date.reverse()
    y, m, d = date
    return datetime.datetime(int(y), int(m), int(d))