lazy_property#

class lazy_property(func)[source]#

Bases: object

Copied functools.cached_property from Python 3.8.

Decorator that converts a method with a single self argument into a property cached on the instance.

Methods