def __str__(self):
        """
        RETURN A SCRIPT SUITABLE FOR CODE OUTSIDE THIS MODULE (NO KNOWLEDGE OF Painless)
        :param schema:
        :return:
        """
        missing = self.miss.partial_eval()
        if missing is FALSE:
            return self.partial_eval().to_python().expr
        elif missing is TRUE:
            return "None"

        return "None if (" + missing.to_python().expr + ") else (" + self.expr + ")"
def __str__ ( self ) : missing = self . miss . partial_eval ( ) if missing is FALSE : return self . partial_eval ( ) . to_python ( ) . expr elif missing is TRUE : return "None" return "None if (" + missing . to_python ( ) . expr + ") else (" + self . expr + ")"
RETURN A SCRIPT SUITABLE FOR CODE OUTSIDE THIS MODULE (NO KNOWLEDGE OF Painless)
        :param schema:
        :return: