code: def _GetAttributes(self):
      
      if self._attributes is None:
        self._attributes = []
  
        for tsk_attribute in self._tsk_file:
          if getattr(tsk_attribute, 'info', None) is None:
            continue
  
          # At the moment there is no way to expose the attribute data
          # from pytsk3.
          attribute_object = TSKAttribute(tsk_attribute)
          self._attributes.append(attribute_object)
  
      return self._attributes
docs: Retrieves the attributes.
  
      Returns:
        list[TSKAttribute]: attributes.