code: def get_or_set_section(
              self,
              config,
              section,
              option,
              DEFAULT_VALUE,
              method='get'
      ):
          
  
          try:
              if isinstance(DEFAULT_VALUE, str):
                  val = DEFAULT_VALUE
              else:
                  val = json.dumps(DEFAULT_VALUE)
              if method == 'get':
                  return self.get_config(section, option)
              else:
                  self.set_config(section, option, val)
                  return val
  
          except:
              self.set_config(section, option, val)
              return val
docs: [summary]
  
          Arguments:
              config {[type]} -- [description]
              section {[type]} -- [description]
              option {[type]} -- [description]
              DEFAULT_VALUE {[type]} -- [description]
  
          Keyword Arguments:
              method {str} -- [description] (default: {'get'})
  
          Returns:
              [type] -- [description]