HEX
Server: LiteSpeed
System: Linux srv146.niagahoster.com 4.18.0-553.30.1.lve.el8.x86_64 #1 SMP Tue Dec 3 01:21:19 UTC 2024 x86_64
User: kodi1989 (1633)
PHP: 8.1.34
Disabled: symlink,shell_exec,exec,popen,system,dl,passthru,escapeshellarg,escapeshellcmd,show_source,pcntl_exec
Upload Files
File: //opt/alt/python37/lib/python3.7/site-packages/proto/__pycache__/utils.cpython-37.pyc
B

��fs�@s ddlZdd�Zdd�ZdZdS)�NcCs2yddlm}d}Wntk
r,d}YnX|S)Nr)�_messageTF)Zgoogle._upbr�ImportError)r�has_upb�r�</opt/alt/python37/lib/python3.7/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)r
rr)r
r�cached_propertys
r)r)rrr�__all__rrrr�<module>s