Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/sqlalchemy/event/__pycache__/registry.cpython-39.pyc
Ðазад
a _�h% � @ s� d Z ddlmZ ddlZddlZddlZddlmZ ddlmZ e� e �Ze� e �Zdd� 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�|� q"d S �N)�_collection_to_key�pop�values�_key_to_collection)�ref�listener_to_key�key�dispatch_reg� r ��/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-packages/sqlalchemy/event/registry.py�_collection_gced5 s r c C sH | j }t| }|j}t�| j�}||v r,dS |||<