_ d Z ddlmZ ddlZddlZddlZddlmZ ddlmZ ej e Z ej e Z d Z d Zd Zd Zd Z G d d e 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 t r | t vrd S t | }| D ]I}|t v r>t | }| | |st | Jd S N)_collection_to_keypopvalues_key_to_collection)reflistener_to_keykeydispatch_regs m/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib64/python3.11/site-packages/sqlalchemy/event/registry.py_collection_gcedr 5 s ,>!>!>(,,S11O%%'' , ,$$$-c2LS!!! ,"&&s+++ , , c | j }t | }|j }t j | j }||v rdS |||<