(self)
return output_format
Get the configured output format, or the default format if missing.

        Returns:
            Output format as a string.
Get the configured output format, or the default format if missing.
Get the configured output format or the default format if missing .
def output_format(self):
        """Get the configured output format, or the default format if missing.

        Returns:
            Output format as a string.
        """
        output_format = self.config_assistant.get_config('output_format')
        if not output_format:
            self.config_assistant.set_config('output', DEFAULT_OUTPUT_FORMAT)
            self.config_assistant.save_config()
            output_format = DEFAULT_OUTPUT_FORMAT
        return output_format
def output_format ( self ) : output_format = self . config_assistant . get_config ( 'output_format' ) if not output_format : self . config_assistant . set_config ( 'output' , DEFAULT_OUTPUT_FORMAT ) self . config_assistant . save_config ( ) output_format = DEFAULT_OUTPUT_FORMAT return output_format