pyre.schemata.Sequence

Module Contents

class pyre.schemata.Sequence.Sequence

Bases: pyre.schemata.Container.Container

The base class for type declarators that are sequences of other types

open = [({
close = ])}
delimiter = ,
typename = sequence
container
complaint = could not coerce {0.value!r} as a sequence
str(self, value)

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

json(self, value)

Generate a JSON representation of {value}

_coerce(self, value, incognito=True, **kwds)

Convert {value} into an iterable