(self)
return self.unique_id
Return unique_id if it exists, otherwise initialize it

        Does _not_ force a save, so it's the caller's responsibility to save the app
Return unique_id if it exists, otherwise initialize it
Return unique_id if it exists otherwise initialize it
def get_unique_id(self):
        """
        Return unique_id if it exists, otherwise initialize it

        Does _not_ force a save, so it's the caller's responsibility to save the app

        """
        if not self.unique_id:
            self.unique_id = uuid.uuid4().hex
        return self.unique_id
def get_unique_id ( self ) : if not self . unique_id : self . unique_id = uuid . uuid4 ( ) . hex return self . unique_id