| Server IP : 93.86.61.54 / Your IP : 216.73.216.60 Web Server : Apache/2.4.62 (Ubuntu) System : Linux rasin.ddns.net 6.8.0-124-generic #124~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 21:05:19 UTC x86_64 User : www-data ( 33) PHP Version : 8.4.22 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3/dist-packages/oauthlib/__pycache__/ |
Upload File : |
o
���a� � @ s` d Z dZz
ddlmZ dZW n ey% G dd� d�ZG dd� d�ZY nw e� 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 @ s e Zd Zddd�ZdS )r Nc C s
t ||�S �N)�_FakeSignal��self�name�doc� r �2/usr/lib/python3/dist-packages/oauthlib/signals.py�signal s
zNamespace.signalr )�__name__�
__module__�__qualname__r r r r r
r s r c @ sD e Zd ZdZd dd�Zdd� Zdd� Ze Z Z Z Z
ZZ[dS )
r a If 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.
Nc C s || _ || _d S r )r �__doc__r r r r
�__init__ s
z_FakeSignal.__init__c O s t d��)NzOsignalling support is unavailable because the blinker library is not installed.)�RuntimeError)r �args�kwargsr r r
�_fail s z_FakeSignal._failc O s d S r r )�a�kwr r r
�<lambda> s z_FakeSignal.<lambda>r )
r r
r r r r �send�connect�
disconnect�has_receivers_for�
receivers_for�temporarily_connected_to�connected_tor r r r
r s
�r z
scope-changedN) r �signals_available�blinkerr �ImportErrorr �_signalsr �
scope_changedr r r r
�<module> s �