
    `Vg;                    `    d dl mZ d dlmZmZ  ed      Z ed      Z G d deeef         Zy)    )annotations)ChainMapTypeVar_KT_VTc                       e Zd ZdZddZddZy)DeepChainMapz~
    Variant of ChainMap that allows direct updates to inner scopes.

    Only works when all passed mapping are mutable.
    c                `    | j                   D ]  }||v s|||<    y  || j                   d   |<   y )Nr   )maps)selfkeyvaluemappings       W/var/www/html/hubwallet-dev/venv/lib/python3.12/site-packages/pandas/compat/chainmap.py__setitem__zDeepChainMap.__setitem__   s<    yy 	Gg~$	 "		!S    c                L    | j                   D ]  }||v s||=  y t        |      )z\
        Raises
        ------
        KeyError
            If `key` doesn't exist.
        N)r   KeyError)r   r   r   s      r   __delitem__zDeepChainMap.__delitem__   s4     yy 	Gg~CL	 smr   N)r   r   r   r   returnNone)r   r   r   r   )__name__
__module____qualname____doc__r   r    r   r   r	   r	      s    "r   r	   N)
__future__r   typingr   r   r   r   r	   r   r   r   <module>r      s6    "
 enen8CH% r   