def _get_public_or_publish(self, *arg, **kw):
    if self.public:
        return self.public
    return self.publish(*arg, **kw)
def _get_public_or_publish(self, *arg, **kw):
    if self.public:
        return self.public
    return self.publish(*arg, **kw)