bpmappers.fields

class bpmappers.fields.DelegateField(mapper_class, key=None, callback=None, skip_callable=True, before_filter=None, required=True, attach_parent=False, *args, **kwargs)

It is Field delegating mapping to the mapper_class.

class bpmappers.fields.Field(key=None, callback=None, skip_callable=False, *args, **kwargs)

Basic class of Field.

class bpmappers.fields.ListDelegateField(mapper_class, key=None, callback=None, filter=None, skip_callable=True, after_filter=None, *args, **kwargs)

Delegate mapping to mapper_class the value as list.

class bpmappers.fields.NonKeyField(callback=None, after_callback=None, *args, **kwargs)

Result values are generated manually.

class bpmappers.fields.RawField(key=None, callback=None, skip_callable=False, *args, **kwargs)

Result values are obtained from mapping source without conversion.

class bpmappers.fields.StubField(stub={}, *args, **kwargs)

Result values are fixed value.