@property
  def parentPath(self):  # pylint: disable=g-bad-name
    parent_list = self.ancestors
    return [p.values.get('className') for p in parent_list]
Returns the classNames from my ultimate parent to my immediate parent.
dataset/ETHPy150Open google/apis-client-generator/src/googleapis/codegen/template_objects.py/CodeObject.parentPath