'Returns a string containing the value that would be displayed to the user in the tool interface.
When quote is True (default), the string is escaped for e.g. command-line usage.'

def get_display_text(self, quote=True):

    rval = (self.input.value_to_display_text(self.value) or '')
    if quote:
        return shlex_quote(rval)
    return rval
