class SampleReader(DictReader): foo = fields.IntegerField(required=True) bar = fields.DateField(required=True) baz = fields.Field(required=True, regex='[A-Z0-9_]{3,9}')
class MultiMappedReader(DictReader): foo = fields.IntegerField(index='foo') bar = fields.DateField(index='bar') baz = fields.Field(index='foo')
class SampleReader(DictReader): foo = fields.IntegerField() bar = fields.DateField()
class SampleReaderMapped(DictReader): foo = fields.IntegerField(index='Foosball') bar = fields.DateField(index='Barry')
class BadHeaderReader(DictReader): foo = fields.IntegerField(index='foo') bar = fields.DateField(index='bar') baz = fields.Field(index='baz')