pytilities.aop.aspects.immutableaspect

class pytilities.aop.aspects.immutableaspect.ImmutableAspect(attributes)

Aspect that makes given attributes immutable.

It will raise ImmutabileAttributeException when the value of one of the immutable attributes changes by using one of its public attributes.

It raises after the modification is done, it doesn’t actually prevent it.

Can only be applied to AOPMeta objects.

Previous topic

pytilities.aop.aspects

Next topic

pytilities.aop.aspects.view

This Page