def set_name(self, name): """ Set the objects name. @param: str name (object name string) @returns: True or CX """ self.name = validate.object_name(name, self.parent)
def set_name(self, name): """ Set the objects name. :param name: object name string :type name: str :return: True or CX """ self.name = validate.object_name(name, self.parent)