def to_op(self):
        if self._new_value is not None:
            return ('assign', self._new_value)
Extracts the mutation operation from the register.
dataset/ETHPy150Open basho/riak-python-client/riak/datatypes/register.py/Register.to_op