parameters: (self, section, name, default)
return_statement: return default
docstring: Tries to fetch the argument value from the args object if it exists, otherwise returns default.
          :param name: The argument to fetch.
          :param default: The value to return if argument doesn't exist.
          :return: The value or default.
docstring_summary: Tries to fetch the argument value from the args object if it exists, otherwise returns default.
          :param name: The argument to fetch.
          :param default: The value to return if argument doesn't exist.
          :return: The value or default.
docstring_tokens: Tries to fetch the argument value from the args object if it exists otherwise returns default . : param name : The argument to fetch . : param default : The value to return if argument doesn t exist . : return : The value or default .
function: def _get(self, section, name, default):
          """
          Tries to fetch the argument value from the args object if it exists, otherwise returns default.
          :param name: The argument to fetch.
          :param default: The value to return if argument doesn't exist.
          :return: The value or default.
          """
          if hasattr(self.args, name):
              return getattr(self.args, name)
          if hasattr(self, "config") and self.config.has_option(section, name):
              return self.config.get(section, name, default)
          return default
function_tokens: def _get ( self , section , name , default ) : if hasattr ( self . args , name ) : return getattr ( self . args , name ) if hasattr ( self , "config" ) and self . config . has_option ( section , name ) : return self . config . get ( section , name , default ) return default