Ps 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 KeyErroris_extension full_namecontaining_type DESCRIPTOR)messageextension_handles /builddir/build/BUILD/imunify360-venv-2.6.2/opt/imunify360/venv/lib64/python3.11/site-packages/google/protobuf/internal/extension_dict.py_VerifyExtensionHandler &