pyre.schemata.Schema

Module Contents

class pyre.schemata.Schema.Schema(default=None, **kwds)

The base class for type declarators

typename = identity
coerce(self, value, **kwds)

Convert the given value into a python native object

string(self, value)

Render value as a string that can be persisted for later coercion

json(self, value)

Generate a JSON representation of {value}