quantlab.core.store_uses.BuiltFrom#

class quantlab.core.store_uses.BuiltFrom(component)[source]#

Bases: object

A sub-component the declaring component only builds its store from.

Every use found under component is a source use of the tree: it is written into the declaring component’s store when that is built, and not read on a day.

Parameters:
componentComponent

A component held in one of the declaring component’s fields.

Examples

>>> BuiltFrom(view).component is view
True