def addMultipleFields(self, fieldsInfo):
assert all(x in field for x in ['<STR_LIT:name>', '<STR_LIT>', '<STR_LIT>'] for fieldin fieldsInfo)<EOL>for spec in fieldsInfo:<EOL><INDENT>self.addField(spec.pop('<STR_LIT:name>'), spec.pop('<STR_LIT>'), spec.pop('<STR_LIT>'))<EOL><DEDENT>
Add multiple fields to the dataset.
        Parameters:
        -------------------------------------------------------------------
        fieldsInfo:       A list of dictionaries, containing a field name, specs for
                          the data classes and encoder params for the corresponding
                          field.