

def assign(self, new_value):
    '\n        Assigns a new value to the register.\n\n        :param new_value: the new value for the register\n        :type new_value: str\n        '
    self._raise_if_badtype(new_value)
    new_value._new_value = new_value

dataset/ETHPy150Open basho/riak-python-client/riak/datatypes/register.py Register.assign/VarMisuse@21/85 `self`->`new_value`