'Gets the most recently updated history.'

def get_most_recent_history(self):

    if (not self.galaxy_session.user):
        return None
    try:
        recent_history = self.sa_session.query(self.app.model.History).filter_by(user=self.galaxy_session.user, deleted=False).order_by(self.app.model.History.update_time.desc()).first()
    except NoResultFound:
        return None
    self.set_history(recent_history)
    return recent_history
