
    
!iB                        S SK Jr  S rg)    )annotationsc                    0 nU R                  5        HK  u  p#[        U[        5      (       a-  [        U5      R                  5        H  u  pEXQU SU 3'   M     MG  X1U'   MM     U$ )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         S/home/james-whalen/.local/lib/python3.13/site-packages/google/generativeai/utils.pyr	   r	      si     Kmmo
eT""&:5&A&G&G&I"2;se1WI./ 'J  % &     N)
__future__r   r	    r   r   <module>r      s    #r   