code: def dump_state(self):
          
  
          return {
              "config_variables": {x: base64.b64encode(y.current_value).decode('utf-8') for x, y in self._config_variables.items()},
          }
docs: Dump the current state of this emulated tile as a dictionary.
  
          This function just dumps the status of the config variables.  It is designed to
          be called in a chained fashion to serialize the complete state of a tile subclass.
  
          Returns:
              dict: The current state of the object that could be passed to load_state.