def __init__(<EOL>self,<EOL>candidate_classes,<EOL>throttlers,<EOL>self_relations,<EOL>nested_relations,<EOL>symmetric_relations,<EOL>**kwargs,<EOL>):
self.candidate_classes = (<EOL>candidate_classes<EOL>if isinstance(candidate_classes, (list, tuple))<EOL>else [candidate_classes]<EOL>)<EOL>self.throttlers = (<EOL>throttlers if isinstance(throttlers, (list, tuple)) else [throttlers]<EOL>)<EOL>self.nested_relations = nested_relations<EOL>self.self_relations = self_relations<EOL>self.symmetric_relations = symmetric_relations<EOL>self.arities = [len(cclass.__argnames__) for cclass in self.candidate_classes]<EOL>super(CandidateExtractorUDF, self).__init__(**kwargs)<EOL>
Initialize the CandidateExtractorUDF.