pyre.schemata.String

Module Contents

class pyre.schemata.String.String(default=str(), **kwds)

Bases: pyre.schemata.Schema.Schema

A type declarator for strings

typename = str
complaint = could not coerce {0.value!r} into a string
coerce(self, value, **kwds)

Attempt to convert {value} into a string