def set(self, key, value):
check_not_none(key, "<STR_LIT>")<EOL>check_not_none(value, "<STR_LIT>")<EOL>return self._encode_invoke(transactional_map_set_codec, key=self._to_data(key),<EOL>value=self._to_data(value))<EOL>
Transactional implementation of :func:`Map.set(key, value) <hazelcast.proxy.map.Map.set>`

The object to be set will be accessible only in the current transaction context till the transaction is
committed.

:param key: (object), key of the entry.
:param value: (object), value of the entry.