Extra annotations¶
- class PropertyTransformer[source]¶
Parent class for annotations that transform object attributes.
This class is not intended to be used by itself, but instead inherited and implemented. Right now, this class is a trivial implementation, i.e. passthrough of getter and setter.
When the :method getter: is implemented, it will be used to transform the data during
getattroperations.Similarly, the :method setter: is used to transform the value during
setattroperations.