code: def lineage(self):
          
          indexes = six.moves.range(1, len(self.parts))
          return {FieldPath(*self.parts[:index]) for index in indexes}
docs: Return field paths for all parents.
  
          Returns: Set[:class:`FieldPath`]