pyre.schemata.OutputStream

Module Contents

class pyre.schemata.OutputStream.OutputStream(default='stdout', mode=mode, **kwds)

Bases: pyre.schemata.Schema.Schema, pyre.framework.Dashboard.Dashboard

A representation of input streams

mode = w
typename = ostream
coerce(self, value, **kwds)

Attempt to convert {value} into an open input stream

string(self, value)

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

json(self, value)

Generate a JSON representation of {value}