def pretty_str(self, indent=0):
        """Return a human-readable string representation of this object.

        Kwargs:
            indent (int): The amount of spaces to use as indentation.
        """
        indent = ' ' * indent
        if self.value is not None:
            return '{}{} {}'.format(indent, self.name, pretty_str(self.value))
        return indent + self.name
def pretty_str ( self , indent = 0 ) : indent = ' ' * indent if self . value is not None : return '{}{} {}' . format ( indent , self . name , pretty_str ( self . value ) ) return indent + self . name
Return a human-readable string representation of this object.

        Kwargs:
            indent (int): The amount of spaces to use as indentation.