def __init__(self, metadata, reader, **kwargs):
        '''
        :param metadata: A metadata dictionary.
        :param reader: A csv reader.
        '''
        super(SimpleCsvProvider, self).__init__(metadata, [], **kwargs)
        self.list = [self._from_row(row) for row in reader]
def __init__ ( self , metadata , reader , ** kwargs ) : super ( SimpleCsvProvider , self ) . __init__ ( metadata , [ ] , ** kwargs ) self . list = [ self . _from_row ( row ) for row in reader ]
:param metadata: A metadata dictionary.
        :param reader: A csv reader.