(self)
return self.unique_id
It is the caller's responsibility to save the Application
        after calling this function.

        WARNING: If called on the same doc in different requests without saving,
        this function will return a different uuid each time,
        likely causing unexpected behavior
It is the caller's responsibility to save the Application
        after calling this function.
It is the caller s responsibility to save the Application after calling this function .
def get_or_create_unique_id(self):
        """
        It is the caller's responsibility to save the Application
        after calling this function.

        WARNING: If called on the same doc in different requests without saving,
        this function will return a different uuid each time,
        likely causing unexpected behavior

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