(self, generator)
:param generator: Generator
:param generator: Generator
: param generator : Generator
def __init__(self, generator):
        """
        :param generator: Generator
        """
        self.generator = generator
def __init__ ( self , generator ) : self . generator = generator