Dashboard
PHP:
8.2.30
OS:
Linux
User:
dh_nv8b2m
/
/
usr
/
local
/
lib
/
python3.10
/
dist-packages
/
sqlalchemy
/
event
/
__pycache__
📤 Upload
📝 New File
📁 New Folder
Close
Editing: registry.cpython-310.pyc
o [�h3 � @ s� d Z ddlmZ ddlZddlZddlZddlmZ ddlmZ e� e �Z e� e �Z dd� Z d d � Zdd� Zd d� Zdd� ZG dd� de�ZdS )aJ Provides managed registration services on behalf of :func:`.listen` arguments. By "managed registration", we mean that event listening functions and other objects can be added to various collections in such a way that their membership in all those collections can be revoked at once, based on an equivalent :class:`._EventKey`. � )�absolute_importN� )�exc)�utilc C sT t r| t vrd S t �| �}|�� D ]}|tv r't| }|�| � |s't�|� qd S �N)�_collection_to_key�pop�values�_key_to_collection)�ref�listener_to_key�key�dispatch_reg� r �D/usr/local/lib/python3.10/dist-packages/sqlalchemy/event/registry.py�_collection_gced5 s ��r c C sH | j }t| }|j}t�| j�}||v rdS |||<