def set(self, key, val):
self.memcache.set(key, val)<EOL>
Sets a value in a key.

        Args:
          key (str): Key for the value.
          val: Value to set.

        Returns:
          Retrieved value.