HEX
Server: LiteSpeed
System: Linux server.nevid-deploma.com 4.18.0-553.111.1.lve.el8.x86_64 #1 SMP Fri Mar 13 13:42:17 UTC 2026 x86_64
User: smilepac (1037)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: //opt/cppython/lib/python3.8/site-packages/proto/__pycache__/utils.cpython-38.pyc
U

JD�gs�@s ddlZdd�Zdd�ZdZdS)�NcCs2zddlm}d}Wntk
r,d}YnX|S)Nr)�_messageTF)Zgoogle._upbr�ImportError)r�has_upb�r�8/opt/cppython/lib/python3.8/site-packages/proto/utils.pyrs
rcst����fdd��}t|�S)z�Make the callable into a cached property.

    Similar to @property, but the function will only be called once per
    object.

    Args:
        fx (Callable[]): The property function.

    Returns:
        Callable[]: The wrapped function.
    cs@t|d�st�|di��j|jkr4�|�|j�j<|j�jS)N�_cached_values)�hasattr�object�__setattr__�__name__r)�self��fxrr�inner)s

zcached_property.<locals>.inner)�	functools�wraps�property)rrrr
r�cached_propertys

r)r)rrr�__all__rrrr�<module>s