
    Xj              
       f    d dl Z d dlmZmZmZ deeef   deeef   deeef   deeef   fdZdgZy)	    N)AnyDictMappingoperations_with_placeholders	files_mapfilesreturnc                 \   t        j                  |       }|j                         D ]  \  }}||   }|D ]t  }|j                  d      }|j	                         }	|}
|D ]&  }t        |
t              r|
t        |         }
"|
|   }
( t        |
t              r||
t        |	      <   p||
|	<   v  |S )N.)copydeepcopyitemssplitpop
isinstancelistint)r   r   r   
operationsmultipart_form_field_nameoperations_pathsfile_objectpathoperations_path_keys	value_keytarget_objectkeys               j/var/www/html/myl_app/scheduler-service/venv/lib/python3.12/site-packages/strawberry/file_uploads/utils.pyreplace_placeholders_with_filesr      s     ;<J7@7H 73!#356$ 	7D#'::c? ,002I&M+ 7mT2$1#c($;M$1#$6M	7 -.0;c)n-+6i(	77&     r   )r   typingr   r   r   strr   __all__ r   r   <module>r$      sc     % %"&sCx.sCx  38 
#s(^	< -
-r   