Server : LiteSpeed
System : Linux server51.dnsbootclub.com 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
User : nandedex ( 1060)
PHP Version : 8.1.33
Disable Function : NONE
Directory :  /opt/cppython/lib/python3.8/site-packages/proto/marshal/rules/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]


Current File : //opt/cppython/lib/python3.8/site-packages/proto/marshal/rules/__pycache__/wrappers.cpython-38.pyc
U

O��g��@s�ddlmZGdd�d�ZGdd�de�ZGdd�de�ZGdd	�d	e�ZGd
d�de�ZGdd
�d
e�ZGdd�de�ZGdd�de�Z	Gdd�de�Z
Gdd�de�ZdS)�)�wrappers_pb2c@s,eZdZdZdd�ed�dd�Zdd�ZdS)�WrapperRuleaUA marshal for converting the protobuf wrapper classes to Python.

    This class converts between ``google.protobuf.BoolValue``,
    ``google.protobuf.StringValue``, and their siblings to the appropriate
    Python equivalents.

    These are effectively similar to the protobuf primitives except
    that None becomes a possible value.
    N)�absentcCst||j�r|rdS|jS|S)N)�
isinstance�_proto_type�value)�selfrr�r	�I/opt/cppython/lib/python3.8/site-packages/proto/marshal/rules/wrappers.py�	to_pythons
zWrapperRule.to_pythoncCst||j�r|j|d�S|S)N)r)r�_python_typer)rrr	r	r
�to_proto$szWrapperRule.to_proto)�__name__�
__module__�__qualname__�__doc__�boolrr
r	r	r	r
rs
rc@seZdZejZeZdS)�DoubleValueRuleN)rrrrZDoubleValuer�floatrr	r	r	r
r*src@seZdZejZeZdS)�FloatValueRuleN)rrrrZ
FloatValuerrrr	r	r	r
r/src@seZdZejZeZdS)�Int64ValueRuleN)rrrrZ
Int64Valuer�intrr	r	r	r
r4src@seZdZejZeZdS)�UInt64ValueRuleN)rrrrZUInt64Valuerrrr	r	r	r
r9src@seZdZejZeZdS)�Int32ValueRuleN)rrrrZ
Int32Valuerrrr	r	r	r
r>src@seZdZejZeZdS)�UInt32ValueRuleN)rrrrZUInt32Valuerrrr	r	r	r
rCsrc@seZdZejZeZdS)�
BoolValueRuleN)rrrrZ	BoolValuerrrr	r	r	r
rHsrc@seZdZejZeZdS)�StringValueRuleN)rrrrZStringValuer�strrr	r	r	r
rMsrc@seZdZejZeZdS)�BytesValueRuleN)rrrrZ
BytesValuer�bytesrr	r	r	r
rRsrN)Zgoogle.protobufrrrrrrrrrrrr	r	r	r
�<module>s

F1le Man4ger