def __init__(self, func: Callable):
        """Initialize the cached_property.

        Args:
            func: The function to cache.
        """
        self._func = func
        self._attrname = None
Initialize the cached_property.

        Args:
            func: The function to cache.
        
reflex/vars/base.py