(self)
return self.__class__.wrap(doc) if doc else None
This looks really similar to get_latest_app, not sure why tim added
This looks really similar to get_latest_app, not sure why tim added
This looks really similar to get_latest_app not sure why tim added
def get_latest_saved(self):
        """
        This looks really similar to get_latest_app, not sure why tim added
        """
        doc = (get_latest_released_app_doc(self.domain, self._id) or
               get_latest_build_doc(self.domain, self._id))
        return self.__class__.wrap(doc) if doc else None
def get_latest_saved ( self ) : doc = ( get_latest_released_app_doc ( self . domain , self . _id ) or get_latest_build_doc ( self . domain , self . _id ) ) return self . __class__ . wrap ( doc ) if doc else None