code: def set(self, key, data):
          '''
          set arbitrary data by key in volatile memory
  
          :param key: key of the data
          :param data: data to be stored
          '''
          if isinstance(data, dict):
              self._volatile_data[key] = {k: v for (k, v) in data.items()}
          else:
              self._volatile_data[key] = datf set(self, key, data):
          '''
          set arbitrary data by key in volatile memory
  
          :param key: key of the data
          :param data: data to be stored
          '''
          if isinstance(data, dict):
              self._volatile_data[key] = {k: v for (k, v) in data.items()}
          else:
              self._volatile_data[key] = data
docs: set arbitrary data by key in volatile memory
  
          :param key: key of the data
          :param data: data to be stored