pyre.traits.Facility

Module Contents

class pyre.traits.Facility.Facility(protocol, **kwds)

Bases: pyre.traits.Slotted.Slotted, pyre.schemata.component

The descriptor for traits that are components

category = component
isFacility = True
macro(self, **kwds)

Return the default strategy for handling expressions in slot values

native(self, **kwds)

The strategy for building slots from more complex input values

instantiate(self, value, node, incognito=False, **kwds)

Coerce {value} into an instance of a component compatible with my protocol

__str__(self)