
    h-iB                        d dl mZ d Zy)    )annotationsc                    i }| j                         D ]F  \  }}t        |t              r,t        |      j                         D ]  \  }}||| d| <    B|||<   H |S )zfFlattens a nested dictionary into a single level dictionary, with keys representing the original path..)items
isinstancedictflatten_update_paths)updatesnew_updateskeyvaluesub_key	sub_values         XD:\DhanshreeandTeamAI\Github\ai_code\venv\Lib\site-packages\google/generativeai/utils.pyr	   r	      sn     Kmmo
UeT"&:5&A&G&G&I"2;se1WI./ 'J  %K &     N)
__future__r   r	    r   r   <module>r      s    #r   