code: def getAncestorsUIDs(instance):
      
      request = instance.getRequest()
      parents = map(lambda ar: api.get_uid(ar), request.getAncestors())
      return [api.get_uid(request)] + parents
docs: Returns the UIDs of all the ancestors (Analysis Requests) this analysis
      comes from