code: def remove(self, key):
          
          check_not_none(key, "key can't be none")
          return self._encode_invoke(transactional_map_remove_codec, key=self._to_data(key))
docs: Transactional implementation of :func:`Map.remove(key) <hazelcast.proxy.map.Map.remove>`
  
          The object to be removed will be removed from only the current transaction context until the transaction is
          committed.
  
          :param key: (object), key of the mapping to be deleted.
          :return: (object), the previous value associated with key, or ``None`` if there was no mapping for key.