(self)
return [p.values.get('className') for p in parent_list]
Returns the classNames from my ultimate parent to my immediate parent.

    Walks up the parent chain building a list of ancestors.

    TODO(user): Eliminate this routine by adding template tags which
    let me process the ancestor list directly.

    Returns:
      (list) The class name of this object.
Returns the classNames from my ultimate parent to my immediate parent.
Returns the classNames from my ultimate parent to my immediate parent .
def parentPath(self):  # pylint: disable=g-bad-name
    """Returns the classNames from my ultimate parent to my immediate parent.

    Walks up the parent chain building a list of ancestors.

    TODO(user): Eliminate this routine by adding template tags which
    let me process the ancestor list directly.

    Returns:
      (list) The class name of this object.
    """
    parent_list = self.ancestors
    return [p.values.get('className') for p in parent_list]
def parentPath ( self ) : # pylint: disable=g-bad-name parent_list = self . ancestors return [ p . values . get ( 'className' ) for p in parent_list ]