set_state#

NamedObject.set_state(state=None, **kwargs)#

Set the state of the object.