Files
old-parkingkoncept/parkingkonceptvenv/lib/python3.7/site-packages/flask/__pycache__/signals.cpython-37.pyc

34 lines
2.3 KiB
Plaintext
Raw Normal View History

2019-11-17 12:44:16 +01:00
B
<00>/<2F>]<5D><00>@s<>dZyddlmZdZWn8ek
rPdZGdd<06>de<05>ZGdd<08>de<05>ZYnXe<02>Ze<07>d <09>Z e<07>d
<EFBFBD>Z
e<07>d <0B>Z e<07>d <0C>Z e<07>d <0A>Z e<07>d<0E>Ze<07>d<0F>Ze<07>d<10>Ze<07>d<11>Ze<07>d<12>ZdS)z<>
flask.signals
~~~~~~~~~~~~~
Implements signals based on blinker if available, otherwise
falls silently back to a noop.
:copyright: 2010 Pallets
:license: BSD-3-Clause
<EFBFBD>)<01> NamespaceTFc@seZdZddd<03>ZdS)rNcCs
t||<02>S)N)<01> _FakeSignal)<03>self<6C>name<6D>doc<6F>r<00>0/tmp/pip-install-c3kgu56x/Flask/flask/signals.py<70>signalszNamespace.signal)N)<04>__name__<5F>
__module__<EFBFBD> __qualname__r rrrrrsrc@sHeZdZdZd dd<04>Zdd<06>Zdd<08>ZeZZZ Z
eZ eZ Z [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||_||_dS)N)r<00>__doc__)rrrrrr<00>__init__sz_FakeSignal.__init__cOsdS)Nr)r<00>args<67>kwargsrrr<00>send"sz_FakeSignal.sendcOs td<01><01>dS)NzOSignalling support is unavailable because the blinker library is not installed.)<01> RuntimeError)rrrrrr<00>_fail%sz_FakeSignal._fail)N)r
r r r rrr<00>connectZ connect_viaZ connected_toZtemporarily_connected_toZ
disconnectZhas_receivers_forZ receivers_forrrrrrs
rztemplate-renderedzbefore-render-templatezrequest-startedzrequest-finishedzrequest-tearing-downzgot-request-exceptionzappcontext-tearing-downzappcontext-pushedzappcontext-poppedzmessage-flashedN)r ZblinkerrZsignals_available<6C> ImportError<6F>objectr<00>_signalsr Ztemplate_renderedZbefore_render_templateZrequest_startedZrequest_finishedZrequest_tearing_downZgot_request_exceptionZappcontext_tearing_downZappcontext_pushedZappcontext_poppedZmessage_flashedrrrr<00><module> s$