File: //usr/local/CyberPanel/lib/python3.10/site-packages/proto/__pycache__/utils.cpython-310.pyc
o
��hs � @ s d dl Z dd� Zdd� ZdZdS )� Nc C s0 zddl m} d}W |S ty d}Y |S w )Nr )�_messageTF)�google._upbr �ImportError)r �has_upb� r �A/usr/local/CyberPanel/lib/python3.10/site-packages/proto/utils.pyr s ��r c s t �� �� 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.
c s@ t | d�st�| di � � j| jvr� | �| j� j<