HEX
Server: LiteSpeed
System: Linux php-prod-1.spaceapp.ru 5.15.0-157-generic #167-Ubuntu SMP Wed Sep 17 21:35:53 UTC 2025 x86_64
User: xnsbb3110 (1041)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //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�