File: //opt/cloudlinux/venv/lib/python3.11/site-packages/sqlalchemy/orm/__pycache__/sync.cpython-311.pyc
�
    � h�  �                   �d   � d Z ddlmZ ddlmZ ddlmZ ddlmZ d� Zd� Zd� Zd	� Z	d
� Z
d� Zd� Zd
S )zgprivate module containing functions used for copying data
between instances based on join conditions.
�   )�
attributes)�exc)�util�   c           
      �\  � | j         }|j         }|D �]\  }	}
	 |j        |	         }| j        |j                 j        �                    | |t          j        �  �        }n0# t          j	        $ r}
t          d||	||
|
�  �         Y d }
~
nd }
~
ww xY w	 |j        |
         }|j        |j                 j        �                    |||d �  �         n0# t          j	        $ r}
t          d||	||
|
�  �         Y d }
~
nd }
~
ww xY w|r0|	j        r)|
j        r"|
�
                    |	�  �        r
d|j        d||
f<