code: def _datetime_to_tuple(dt_dict):
      
  
      year, month, day = _date_to_tuple(dt_dict)
      hour, minute, second, microsecond = _time_to_tuple(dt_dict)
  
      return year, month, day, hour, minute, second, microsecond
docs: datetime.datetime components from dictionary to tuple.
  
      Example
      -------
      dt_dict = {'year': '2014','month': '07','day': '23',
              'hour': '13','minute': '12','second': '45','microsecond': '321'}
  
      _datetime_to_tuple(dt_dict) -> (2014, 7, 23, 13, 12, 45, 321)