parameters: (self, name, value)
docstring: Overload for setting value of an option with [].
  
          Inputs:
              name[str]: The name of the Option to retrieve
              value: The value to set the option to
              **kwargs: Key, value pairs are passed to the Option object.
docstring_summary: Overload for setting value of an option with [].
docstring_tokens: Overload for setting value of an option with [] .
function: def __setitem__(self, name, value):
          """
          Overload for setting value of an option with [].
  
          Inputs:
              name[str]: The name of the Option to retrieve
              value: The value to set the option to
              **kwargs: Key, value pairs are passed to the Option object.
          """
  
          # Check that the option exists
          if not self.hasOption(name):
              mooseutils.mooseWarning('No option with the name:', name)
  
          # Set option to the given value, type checking occurs in the Option object
          else:
              self.__options[name].set(value)
function_tokens: def __setitem__ ( self , name , value ) : # Check that the option exists if not self . hasOption ( name ) : mooseutils . mooseWarning ( 'No option with the name:' , name ) # Set option to the given value, type checking occurs in the Option object else : self . __options [ name ] . set ( value )