Utils Decorators

inyoka.utils.decorators

Decorators and decorator helpers.

copyright:
  1. 2007-2024 by the Inyoka Team, see AUTHORS for more details.

license:

BSD, see LICENSE for more details.

class inyoka.utils.decorators.deferred(func, name=None)

Deferred properties. Calculated once and then it replaces the property object.

static clear(obj)

Clear all deferred objects on that class.

inyoka.utils.decorators.patch_wrapper(decorator, base)