관리-도구
편집 파일: extension_dict.cpython-311.pyc
� P�Dg%! � �D � d Z ddlmZ ddlmZ d� Z G d� de� � ZdS )z7Contains _ExtensionDict class to represent extensions. � )� type_checkers)�FieldDescriptorc �L � t |t � � st d|z � � �|j st d|j z � � �|j st d|j z � � �|j | j ur2t d|j �d|j j �d| j j �d�� � �dS ) z0Verify that the given extension handle is valid.z3HasExtension() expects an extension handle, got: %sz"%s" is not an extension.z""%s" is missing a containing_type.zExtension "z" extends message type "z ", but this message is of type "z".N)� isinstancer �KeyError�is_extension� full_name�containing_type� DESCRIPTOR)�message�extension_handles ��/builddir/build/BUILD/imunify360-venv-2.4.0/opt/imunify360/venv/lib64/python3.11/site-packages/google/protobuf/internal/extension_dict.py�_VerifyExtensionHandler &