opt
/
hc_python
/
lib
/
python3.12
/
site-packages
/
sqlalchemy
/
event
/
__pycache__
/
Go to Home Directory
+
Upload
Create File
root@0UT1S:~$
Execute
By Order of Mr.0UT1S
[DIR] ..
N/A
__init__.cpython-312.pyc
819 bytes
Rename
Delete
api.cpython-312.pyc
8.84 KB
Rename
Delete
attr.cpython-312.pyc
29.63 KB
Rename
Delete
base.cpython-312.pyc
19.47 KB
Rename
Delete
legacy.cpython-312.pyc
9.14 KB
Rename
Delete
registry.cpython-312.pyc
12.28 KB
Rename
Delete
� #��gQ � � � d Z ddlmZ ddlZddlmZ ddlZddlmZ ddl Z ddl m Z ddl mZ ddl mZ dd l m Z dd l mZ ddl mZ ddl mZ dd l mZ ddl mZ ddl mZ ddl mZ ddl mZ ddl mZ ddl mZ ddl mZ ddl mZ ddl mZ ddlZddlmZ ddlmZ ddlmZ ddlm Z ddlm!Z! ddlm"Z" ddlm#Z# dd l$m%Z% dd!l&m'Z' ed"e �#� Z(e jR rdd$l*m+Z+ dd%l*m,Z, dd&l*m-Z- G d'� d(e#j\ ee � Z/ G d)� d*ee( � Z0ee e( e0e( f Z1 G d+� d,e/e � Z2 G d-� d.e/e ee! � Z3 G d/� d0e3e � Z4 G d1� d2e'� Z5 G d3� d4e3e � Z6 G d5� d6e6e � Z7 G d7� d8e6e � Z8y)9a� Attribute implementation for _Dispatch classes. The various listener targets for a particular event class are represented as attributes, which refer to collections of listeners to be fired off. These collections can exist at the class level as well as at the instance level. An event is fired off using code like this:: some_object.dispatch.first_connect(arg1, arg2) Above, ``some_object.dispatch`` would be an instance of ``_Dispatch`` and ``first_connect`` is typically an instance of ``_ListenerCollection`` if event listeners are present, or ``_EmptyListener`` if none are present. The attribute mechanics here spend effort trying to ensure listener functions are available with a minimum of function call overhead, that unnecessary objects aren't created (i.e. many empty per-instance listener collections), as well as that everything is garbage collectable when owning references are lost. Other features such as "propagation" of listener functions across many ``_Dispatch`` instances, "joining" of multiple ``_Dispatch`` instances, as well as support for subclass propagation (e.g. events assigned to ``Pool`` vs. ``QueuePool``) are all implemented here. � )�annotationsN)�chain)� TracebackType)�Any)�cast)� Collection)�Deque)� FrozenSet)�Generic)�Iterator)�MutableMapping)�MutableSequence)�NoReturn)�Optional)�Sequence)�Set)�Tuple)�Type)�TypeVar)�Union� )�legacy)�registry)�_ET)� _EventKey)�_ListenerFnType� )�exc)�util)�AsyncAdaptedLock)�Protocol�_T)�bound)� _Dispatch)�_DispatchCommon)�_HasEventsDispatchc �$ � e Zd ZU dZded<