pyre.schemata.Path

Module Contents

class pyre.schemata.Path.Path

Bases: pyre.schemata.Schema.Schema

A type declarator for paths

typename = path
complaint = cannot cast {0.value!r} into a path
cwd
root
home
coerce(self, value, **kwds)

Attempt to convert {value} into a path

json(self, value)

Generate a JSON representation of {value}