File manager - Edit - /usr/local/CyberPanel/lib/python3.10/site-packages/proto/marshal/collections/__pycache__/maps.cpython-310.pyc
Back
o �hi � @ s8 d dl Z d dlmZ d dlmZ G dd� de jj�ZdS )� N)�cached_property)�Messagec @ s` e Zd ZdZedd� �Zdd� Zdd� Zdd � Zd d� Z dd � Z dd� Zdd� Ze dd� �ZdS )�MapCompositez�A view around a mutable sequence in protocol buffers. This implements the full Python MutableMapping interface, but all methods modify the underlying field container directly. c C s t | j�� � j�S )z2Return the protocol buffer type for this sequence.)�type�pb� GetEntryClass�value��self� r �T/usr/local/CyberPanel/lib/python3.10/site-packages/proto/marshal/collections/maps.py�_pb_type s zMapComposite._pb_typec C s || _ || _dS )z�Initialize a wrapper around a protobuf map. Args: sequence: A protocol buffers map. marshal (~.MarshalRegistry): An instantiated marshal, used to convert values going to and from this map. N)�_pb�_marshal)r �sequence�marshalr r r �__init__"