code: def set_option(self, key, value):
          
          self._options.update(self._option_schema({key: value}))
          self.clear_cache()
docs: Set the option `key` (string) to `value`.
  
          Instance method, affects only current instance.
          This will clear the cache.