def _build_name_attribute(self, name=None):
    '\n        Build a name attribute, returned in a list for ease\n        of use in the caller\n        '
    name_list = []
    if name:
        name_list.append(self.attribute_factory.create_attribute(enums.AttributeType.NAME, name))
    return name_list
Build a name attribute, returned in a list for ease
of use in the caller
def _build_name_attribute(self, name=None):
    '\n        Build a name attribute, returned in a list for ease\n        of use in the caller\n        '
    name_list = []
    if name:
        name_list.append(self.attribute_factory.create_attribute(enums.AttributeType.NAME, name))
    return name_list