docstrings actually go inside the class:

        class DataGenerator():
            ''' Generates random data needed to create objects '''
            ...