Hacked By AnonymousFox
�
�܋f�( � � � d dl Z ddlmZ ddlmZ ddlmZ ddlmZ G d� de� � Z G d � d
e� � Z G d� de� � Z
dS )
� N� )�
attributes)�util� )�excc � � e Zd Zd� Zd� Zd� Zd� Zd� Zd� Zd� Z d� Z
d � Zd
� Zd� Z
d� Zd
� Zd� Zdd�Zd� Zd� Zd� Zd� ZdS )�IdentityMapc �l � i | _ t � � | _ t j | � � | _ d S �N)�_dict�set� _modified�weakref�ref�_wr��selfs �N/opt/cloudlinux/venv/lib64/python3.11/site-packages/sqlalchemy/orm/identity.py�__init__zIdentityMap.__init__ s) � ���
�������;�t�$�$����� c �4 � | j � � � S r )r �keysr s r r zIdentityMap.keys s � ��z��� � � r c � � t � � �r ��NotImplementedError�r �states r �replacezIdentityMap.replace � � �!�#�#�#r c � � t � � �r r r s r �addzIdentityMap.add r r c �0 � | � |� � dS )zUoptional inlined form of add() which can assume item isn't present
in the mapN)r! �r r �keys r �_add_unpresentzIdentityMap._add_unpresent s � �
��������r c � � t d� � ��Nz%IdentityMap uses add() to insert datar )r �dict_s r �updatezIdentityMap.update$ � � �!�"I�J�J�Jr c � � t d� � ��Nz(IdentityMap uses remove() to remove datar r s r �clearzIdentityMap.clear'