code: def setParentAnalysisRequest(self, value):
          
          self.Schema().getField("ParentAnalysisRequest").set(self, value)
          if not value:
              noLongerProvides(self, IAnalysisRequestPartition)
          else:
              alsoProvides(self, IAnalysisRequestPartition)
docs: Sets a parent analysis request, making the current a partition