pyre.components.PublicInventory¶
Module Contents¶
-
class
pyre.components.PublicInventory.PublicInventory(key, **kwds)¶ Bases:
pyre.components.Inventory.InventoryStrategy for providing access to the state of component classes and instances that were given a publicly visible name and use slots managed the pyre nameserver for storage.
-
setTraitValue(self, trait, **kwds)¶ Set the value of the slot associated with the given {trait} descriptor
-
getTraitValue(self, trait)¶ Get the value associated with this {trait} descriptor
-
getTraitLocator(self, trait)¶ Get the location of last assignment for this {trait}
-
getTraitPriority(self, trait)¶ Retrieve the priority of the last assignment for this {trait}
-
getSlots(self)¶ Return an iterable over the trait value storage
-
__getitem__(self, trait)¶ Retrieve the slot associated with {trait}
-
__str__(self)¶
-