HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //proc/1233/root/usr/lib/python3/dist-packages/oauthlib/__pycache__/signals.cpython-310.pyc
o

���a��@s`dZdZz
ddlmZdZWney%Gdd�d�ZGdd�d�ZYnwe�Ze�d	�Zd
S)z�
    Implements signals based on blinker if available, otherwise
    falls silently back to a noop. Shamelessly stolen from flask.signals:
    https://github.com/mitsuhiko/flask/blob/master/flask/signals.py
F�)�	NamespaceTc@seZdZddd�ZdS)rNcCs
t||�S�N)�_FakeSignal��self�name�doc�r	�2/usr/lib/python3/dist-packages/oauthlib/signals.py�signals
zNamespace.signalr)�__name__�
__module__�__qualname__rr	r	r	r
rsrc@sDeZdZdZd	dd�Zdd�Zdd�ZeZZZ	Z
ZZ[dS)
raIf blinker is unavailable, create a fake class with the same
        interface that allows sending of signals but will fail with an
        error on anything else.  Instead of doing anything on send, it
        will just ignore the arguments and do nothing instead.
        NcCs||_||_dSr)r�__doc__rr	r	r
�__init__s
z_FakeSignal.__init__cOstd��)NzOsignalling support is unavailable because the blinker library is not installed.)�RuntimeError)r�args�kwargsr	r	r
�_failsz_FakeSignal._failcOsdSrr	)�a�kwr	r	r
�<lambda>sz_FakeSignal.<lambda>r)
rr
rrrr�send�connect�
disconnect�has_receivers_for�
receivers_for�temporarily_connected_to�connected_tor	r	r	r
rs
�rz
scope-changedN)	r�signals_available�blinkerr�ImportErrorr�_signalsr�
scope_changedr	r	r	r
�<module>s�