code: def str_to_date(date: str) -> datetime.datetime:
      
      date = date.split('.')
      date.reverse()
      y, m, d = date
      return datetime.datetime(int(y), int(m), int(d))
docs: Convert cbr.ru API date ste to python datetime
  
      :param date: date from API response
  
      :return: date like datetime
      :rtype: datetime