pyre.descriptors.Typed

Module Contents

class pyre.descriptors.Typed.Typed(**kwds)

Bases: pyre.schemata.Schema.Schema

Mix-in class that encapsulates type information. Its instances participate in value conversions from external representations to python internal forms.

converters = []
normalizers = []
validators = []
process(self, value, **kwds)

Walk {value} through the steps from raw to validated

bind(self, **kwds)

Called by my client to let me know that all the available meta-data have been harvested

listify(self, processors)

Make sure {processors} is an iterable regardless of what the user left behind