pyre.schemata.InputStream

Module Contents

class pyre.schemata.InputStream.InputStream(default='stdin', mode=mode, **kwds)

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

A representation of input streams

mode = r
typename = istream
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}