class_docstr: Configuration variables for Bambi
  
  It works with a pre-specified set of configuration variables and options for those.
  When a user tries to set a configuration variable to a non-supported value, it raises an error.
class_docstr_tok: ["Configuration","variables","for","Bambi","It","works","with","a","pre-specified","set","of","configuration","variables","and","options","for","those",".","When","a","user","tries","to","set","a","configuration","variable","to","a","non-supported","value",",","it","raises","an","error","."]
code: def __setattr__(self, key, value):
      if key in Config.__FIELDS:
          if value in Config.__FIELDS[key]:
              super().__setattr__(key, value)
          else:
              raise ValueError(
                  f"{value} is not a valid value for '{key}'"
                  f"Valid options are: {Config.__FIELDS[key]}"
              )
      else:
          raise KeyError(f"'{key}' is not a valid configuration option")
  
label_desc: Use image node_id 3 for calling the Config obj's underlying member method code with example usage: obj.__setattr__(key, value) without return types