Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
pip._vendor.distro.distro.cached_property Class Reference

Public Member Functions

None __init__ (self, Callable[[Any], Any] f)
 
Any __get__ (self, Any obj, Type[Any] owner)
 

Protected Attributes

 _fname
 
 _f
 

Detailed Description

A version of @property which caches the value.  On access, it calls the
underlying function and sets the value in `__dict__` so future accesses
will not re-call the property.

The documentation for this class was generated from the following file: