betty.attrs.owner module¶
Attributes that store data in instance attributes.
- class betty.attrs.owner.OwnerAttr¶
-
An object attribute that stores its data on owner instances.
- default(default: Callable[[], SetT] | Callable[[OwnerT], SetT]) OwnerAttr[OwnerT, GetT, SetT]¶
Create a new attribute that proxies this one, and sets a default value.